Example #1
0
 public string?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetString(ordinal) : null;
Example #2
0
 public byte?ReadNullable(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetByte(ordinal) : null;
Example #3
0
 public DateTime?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetDateTime(ordinal) : null;
Example #4
0
 public Guid?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetGuid(ordinal) : null;
Example #5
0
 public bool?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetBoolean(ordinal) : null;
Example #6
0
 public double?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetDouble(ordinal) : null;
Example #7
0
 public decimal?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetDecimal(ordinal) : null;
Example #8
0
 public long?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetInt64(ordinal) : null;
Example #9
0
 public int?Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetInt32(ordinal) : null;
Example #10
0
 public short?ReadNullable(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? recordReader.GetInt16(ordinal) : null;
Example #11
0
 public byte[]? Read(ISqDataRecordReader recordReader, int ordinal)
 => !recordReader.IsDBNull(ordinal) ? (byte[])recordReader.GetValue(ordinal) : null;