Interface IResultSetMetadata
SQL result set metadata.
public interface IResultSetMetadata
Properties
Columns
Gets the columns in the same order as they appear in the result set data.
IReadOnlyList<IColumnMetadata> Columns { get; }
Property Value
Methods
IndexOf(string)
Gets the index of the specified column, or -1 when there is no column with the specified name.
int IndexOf(string columnName)
Parameters
columnName
stringColumn name.
Returns
- int
Column index.