All C# extension methods for type idatareader
-
AsEnumerable
Allows you to treat an IDataReader from a database query as enumerable so that you can perform LINQ operations on it.
-
GetBoolean(string fieldName), GetDateTime(string fieldName), etc...
Use the Get[Type] functions that are part of the IDataReader but by passing the field name as a string as opposed to the field ordinal as int. Allows assigning default values for null values returned by the datareader.
-
GetValue
Get column value bu name from IDataReader.
-
ColumnExists
Returns true if the column exists in the DataReader, else returns false
-
ToDataTable
Used with IDataReader to return a DataTable from the reader.
-
Get
IDataReader extension to get values