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