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