The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityParameterCollection::Add Method (EntityParameter^)
.NET Framework (current version)
Adds the specified EntityParameter object to the EntityParameterCollection.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Parameters
- value
-
Type:
System.Data.EntityClient::EntityParameter^
The EntityParameter to add to the collection.
| Exception | Condition |
|---|---|
| ArgumentException | The EntityParameter specified in the value parameter is already added to this or another EntityParameterCollection. |
| InvalidCastException | The parameter passed was not a EntityParameter. |
| ArgumentNullException | The value parameter is null. |
.NET Framework
Available since 3.5
Available since 3.5
Show: