public int?ReadNullInt32(this OraclaDataReader dbReader, string columnName) { return(dbReader.IsDBNull(columnName) ? null : (int?)dbReader[columnName]); }
public static T Read <T>(this OraclaDataReader dbReader, string columnName) { return(dbReader.IsDBNull(columnName) ? default(T) : (T)dbReader[columnName]); }