namespace: Serenity.Data assembly: Serenity.Net.Data
Reads and converts value at field index to Double. Returns DbNull as Null.Double.
public static double? ToDouble(this IDataReader reader, int index)
parameter | description |
---|---|
reader | Reader (required). |
index | Index. |
Field value or Null.Double if value is DbNull.
- class DataReaderExtensions