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