DataReaderExtensions.ToInt64 method
namespace: Serenity.Data assembly: Serenity.Net.Data
Reads and converts value at field index to Int64. Returns DbNull as Null.Int64.
public static long? ToInt64(this IDataReader reader, int index)
| parameter | description |
|---|---|
| reader | Reader (required). |
| index | Index. |
Return Value
Field value or Null.Int64 if value is DbNull.
See Also
- class DataReaderExtensions