src/Shared/EntityFramework/Core/EntityClient/DbParameterCollectionHelper.cs
/// <summary>Removes the specified parameter from the collection.</summary>
/// <param name="value">
/// A <see cref="T:System.Object" /> object to remove from the collection.
/// </param>
Removes the specified parameter from the collection.
Removes the specified parameter from the collection .
public override void Remove(object value)
        {
            OnChange();
            Check.NotNull(value, "value");
            ValidateType(value);
            var index = IndexOf(value);
            if (-1 != index)
            {
                RemoveIndex(index);
            }
            else if (this != ((EntityParameter)value).CompareExchangeParent(null, this))
            {
                throw new ArgumentException(Strings.EntityParameterCollectionRemoveInvalidObject);
            }
        }
public override void Remove ( object value ) { OnChange ( ) ; Check . NotNull ( value , " " ) ; ValidateType ( value ) ; var index = IndexOf ( value ) ; if ( - 1 != index ) { RemoveIndex ( index ) ; } else if ( this != ( ( EntityParameter ) value ) . CompareExchangeParent ( null , this ) ) { throw new ArgumentException ( Strings . EntityParameterCollectionRemoveInvalidObject ) ; } }
Removes the specified parameter from the collection.
Removes the specified parameter from the collection .
value
object
A  object to remove from the collection.
A object to remove from the collection .