Beispiel #1
0
 public static IEnumerable <T> Select <T>(this SqlDatabase db, string sql, Action <IDbCommand> setupCommand, Func <IDataRecord, T> selector)
 {
     return(db.Select(sql, setupCommand).Select(selector));
 }
Beispiel #2
0
 public static IEnumerable <T> Select <T>(this SqlDatabase db, string sql, Func <IDataRecord, T> selector)
 {
     return(db.Select(sql).Select(selector));
 }