EntityDataReader.GetOrdinal Method (String)
Gets the column ordinal given the name of the column.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- name
-
Type:
System.String
The name of the column.
Exception | Condition |
---|---|
IndexOutOfRangeException | The name specified is not a valid column name. |