src/Shared/EntityFramework/Core/Objects/ObjectParameterCollection.cs
/// <summary>
/// Removes an instance of an <see cref="T:System.Data.Entity.Core.Objects.ObjectParameter" /> from the collection by reference if it exists in the collection.
/// </summary>
/// <returns>Returns true if the parameter object was found and removed from the collection; otherwise, false. </returns>
/// <param name="item">An object to remove from the collection.</param>
/// <exception cref="T:System.ArgumentNullException">The  parameter  argument is null.</exception>
Removes an instance of an  from the collection by reference if it exists in the collection.
Removes an instance of an from the collection by reference if it exists in the collection .
public bool Remove(ObjectParameter item)
        {
            Check.NotNull(item, "item");
            CheckUnlocked();
            var removed = _parameters.Remove(item);
            if (removed)
            {
                _cacheKey = null;
            }
            return removed;
        }
public bool Remove ( ObjectParameter item ) { Check . NotNull ( item , " " ) ; CheckUnlocked ( ) ; var removed = _parameters . Remove ( item ) ; if ( removed ) { _cacheKey = null ; } return removed ; }
Removes an instance of an  from the collection by reference if it exists in the collection.
Removes an instance of an from the collection by reference if it exists in the collection .
// If the specified parameter was found in the collection and removed,  // clear out the cached string representation of this parameter collection // so that the next call to GetCacheKey (if any) will regenerate it based on // the new state of this collection.
Returns true if the parameter object was found and removed from the collection; otherwise, false.
Returns true if the parameter object was found and removed from the collection ; otherwise false .
The  parameter  argument is null.
The parameter argument is null .
item
ObjectParameter
An object to remove from the collection.
An object to remove from the collection .