iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

InMemoryDataReader.GetOrdinal Method 

Returns the column ordinal, given the name of the column.

[Visual Basic]
NotOverridable Public Function GetOrdinal( _
   ByVal String As String _
) As Integer _
    Implements IDataRecord.
[C#]
public int GetOrdinal(
   String colName
);

Parameters

colName
The name of the column.

Return Value

The value of the column.

Implements

IDataRecord.

See Also

InMemoryDataReader Class | IBatisNet.DataMapper.Commands Namespace