EntityParameterCollection.Insert Method
Add an EntityParameter with the given value to the collection at a location indicated by the index.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Insert(Int32, EntityParameter) | Inserts a EntityParameter object into the EntityParameterCollection at the specified index. |
![]() | Insert(Int32, Object) | Inserts an Object into the EntityParameterCollection at the specified index.(Overrides DbParameterCollection.Insert(Int32, Object).) |
EntityParameterCollection.Insert Method (Int32, EntityParameter)
Inserts a EntityParameter object into the EntityParameterCollection at the specified index.
Parameters
- index
-
Type:
System.Int32
The zero-based index at which value should be inserted.
- value
-
Type:
System.Data.Entity.Core.EntityClient.EntityParameter
A EntityParameter object to be inserted in the EntityParameterCollection .
EntityParameterCollection.Insert Method (Int32, Object)
Inserts an Object into the EntityParameterCollection at the specified index.
Parameters
- index
-
Type:
System.Int32
The zero-based index at which value should be inserted.
- value
-
Type:
System.Object
An Object to be inserted in the EntityParameterCollection .