EntityParameterCollection.Remove Method
Remove an EntityParameter with the given value from the collection.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Remove(EntityParameter) | Removes the specified EntityParameter from the collection. |
![]() | Remove(Object) | Removes the specified parameter from the collection.(Overrides DbParameterCollection.Remove(Object).) |
EntityParameterCollection.Remove Method (EntityParameter)
Removes the specified EntityParameter from the collection.
Parameters
- value
-
Type:
System.Data.Entity.Core.EntityClient.EntityParameter
A EntityParameter object to remove from the collection.
Exception | Condition |
---|---|
InvalidCastException | The parameter is not a EntityParameter. |
SystemException | The parameter does not exist in the collection. |
EntityParameterCollection.Remove Method (Object)
Removes the specified parameter from the collection.
Parameters
- value
-
Type:
System.Object
A Object object to remove from the collection.