Export (0) Print
Expand All

DbUpdatableDataRecord.GetOrdinal Method

Retrieves the ordinal of a field by using the name of the field.

Namespace:  System.Data.Objects
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public override int GetOrdinal(
	string name
)

Parameters

name
Type: System.String

The name of the field.

Return Value

Type: System.Int32
The ordinal of the field.

Implements

IDataRecord.GetOrdinal(String)

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft