EntityParameterCollection Class
Represents a collection of parameters associated with a EntityCommand.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
System::MarshalByRefObject
System.Data.Common::DbParameterCollection
System.Data.EntityClient::EntityParameterCollection
| Name | Description | |
|---|---|---|
![]() | Count | Gets an Integer that contains the number of elements in the EntityParameterCollection. (Overrides DbParameterCollection::Count.) |
![]() | IsFixedSize | Gets a value that indicates whether the EntityParameterCollection has a fixed size. (Overrides DbParameterCollection::IsFixedSize.) |
![]() | IsReadOnly | Gets a value that indicates whether the EntityParameterCollection is read-only. (Overrides DbParameterCollection::IsReadOnly.) |
![]() | IsSynchronized | Gets a value that indicates whether the EntityParameterCollection is synchronized.(Overrides DbParameterCollection::IsSynchronized.) |
![]() | Item[Int32] | Gets the EntityParameter at the specified index. |
![]() | Item[String^] | Gets the EntityParameter with the specified name. |
![]() | SyncRoot | Gets an object that can be used to synchronize access to the EntityParameterCollection. (Overrides DbParameterCollection::SyncRoot.) |
| Name | Description | |
|---|---|---|
![]() | Add(EntityParameter^) | Adds the specified EntityParameter object to the EntityParameterCollection. |
![]() | Add(Object^) | Adds the specified object to the EntityParameterCollection.(Overrides DbParameterCollection::Add(Object^).) |
![]() | Add(String^, DbType) | Adds a EntityParameter to the EntityParameterCollection given the parameter name and the data type. |
![]() | Add(String^, DbType, Int32) | Adds a EntityParameter to the EntityParameterCollection with the parameter name, the data type, and the column length. |
![]() | AddRange(Array^) | Adds an array of values to the end of the EntityParameterCollection.(Overrides DbParameterCollection::AddRange(Array^).) |
![]() | AddRange(array<EntityParameter^>^) | Adds an array of EntityParameter values to the end of the EntityParameterCollection. |
![]() | AddWithValue(String^, Object^) | Adds a value to the end of the EntityParameterCollection. |
![]() | Clear() | Removes all the EntityParameter objects from the EntityParameterCollection.(Overrides DbParameterCollection::Clear().) |
![]() | Contains(Object^) | Determines whether the specified Object is in this EntityParameterCollection.(Overrides DbParameterCollection::Contains(Object^).) |
![]() | Contains(String^) | Determines whether the specified EntityParameter is in this EntityParameterCollection.(Overrides DbParameterCollection::Contains(String^).) |
![]() | CopyTo(Array^, Int32) | Copies all the elements of the current EntityParameterCollection to the specified one-dimensional Array starting at the specified destination Array index.(Overrides DbParameterCollection::CopyTo(Array^, Int32).) |
![]() | CopyTo(array<EntityParameter^>^, Int32) | Copies all the elements of the current EntityParameterCollection to the specified EntityParameterCollection starting at the specified destination index. |
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that iterates through the EntityParameterCollection. (Overrides DbParameterCollection::GetEnumerator().) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | IndexOf(EntityParameter^) | Gets the location of the specified EntityParameter in the collection. |
![]() | IndexOf(Object^) | Gets the location of the specified Object in the collection.(Overrides DbParameterCollection::IndexOf(Object^).) |
![]() | IndexOf(String^) | Gets the location of the specified EntityParameter with the specified name.(Overrides DbParameterCollection::IndexOf(String^).) |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | 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^).) |
![]() | Remove(EntityParameter^) | Removes the specified EntityParameter from the collection. |
![]() | Remove(Object^) | Removes the specified parameter from the collection.(Overrides DbParameterCollection::Remove(Object^).) |
![]() | RemoveAt(Int32) | Removes the EntityParameter from the EntityParameterCollection at the specified index.(Overrides DbParameterCollection::RemoveAt(Int32).) |
![]() | RemoveAt(String^) | Removes the EntityParameter from the EntityParameterCollection at the specified parameter name.(Overrides DbParameterCollection::RemoveAt(String^).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IList::Item[Int32] | Gets or sets the element at the specified index.(Inherited from DbParameterCollection.) |
![]() ![]() | IDataParameterCollection::Item[String^] | Gets or sets the parameter at the specified index.(Inherited from DbParameterCollection.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. Converts an IEnumerable to an IQueryable.(Defined by Queryable.) |
![]() | Cast<TResult>() | Casts the elements of an IEnumerable to the specified type.(Defined by Enumerable.) |
![]() | OfType<TResult>() | Filters the elements of an IEnumerable based on a specified type.(Defined by Enumerable.) |
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



