示例#1
0
 private T RowValue <T>(SqlBuilderResultRow row, string key)
 {
     return((T?)row[key] ?? throw new InvalidCastException($"The value for {key} is null"));
 }
示例#2
0
 private T RowValue <T>(SqlBuilderResultRow row) => RowValue <T>(row, row.Keys.First());