EntityParameterCollection.Item[] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Item[Int32] |
Gets the EntityParameter at the specified index. |
Item[String] |
Gets the EntityParameter with the specified name. |
Item[Int32]
Gets the EntityParameter at the specified index.
public System.Data.Entity.Core.EntityClient.EntityParameter this[int index] { get; set; }
member this.Item(int) : System.Data.Entity.Core.EntityClient.EntityParameter with get, set
Default Public Property Item(index As Integer) As EntityParameter
Parameters
- index
- Int32
The zero-based index of the parameter to retrieve.
Property Value
The EntityParameter at the specified index.
Exceptions
The specified index does not exist.
Applies to
Item[String]
Gets the EntityParameter with the specified name.
public System.Data.Entity.Core.EntityClient.EntityParameter this[string parameterName] { get; set; }
member this.Item(string) : System.Data.Entity.Core.EntityClient.EntityParameter with get, set
Default Public Property Item(parameterName As String) As EntityParameter
Parameters
- parameterName
- String
The name of the parameter to retrieve.
Property Value
The EntityParameter with the specified name.
Exceptions
The specified name does not exist.
Applies to
Entity Framework