DbUpdatableDataRecord.GetOrdinal Method (String)

 

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

Namespace:   System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.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.