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