DataReaderExtensions.AsInt64 method
namespace: Serenity.Data assembly: Serenity.Net.Data
Reads value at field index. Returns DbNull as Null.Int64.
public static long? AsInt64(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