public static IEnumerable <TReturn> Query <TFirst, TSecond, TThird, TReturn>(this IAdoSupport ado, string sql, Func <TFirst, TSecond, TThird, TReturn> map, object param = null, bool buffered = true, string splitOn = "Id", int?commandTimeout = null, CommandType?commandType = null)
 {
     return(ado.DbConnection.Query(sql, map, param, ado.CurrentTransaction, buffered, splitOn, commandTimeout, commandType));
 }
 public static IDataReader ExecuteReader(this IAdoSupport ado, CommandDefinition command, CommandBehavior commandBehavior)
 {
     return(ado.DbConnection.ExecuteReader(command, commandBehavior));
 }
 public static IEnumerable <dynamic> Query(this IAdoSupport ado, string sql, object param = null, bool buffered = true, int?commandTimeout = null, CommandType?commandType = null)
 {
     return(ado.DbConnection.Query(sql, param, ado.CurrentTransaction, buffered, commandTimeout, commandType));
 }
 public static Task <int> ExecuteAsync(this IAdoSupport ado, string sql, object param = null, int?commandTimeout = null, CommandType?commandType = null)
 {
     return(ado.DbConnection.ExecuteAsync(sql, param, ado.CurrentTransaction, commandTimeout, commandType));
 }
 public static Task <int> ExecuteAsync(this IAdoSupport ado, CommandDefinition command)
 {
     return(ado.DbConnection.ExecuteAsync(command));
 }
 public static int Execute(this IAdoSupport ado, CommandDefinition command)
 {
     return(ado.DbConnection.Execute(command));
 }
 public static int Execute(this IAdoSupport cnn, string sql, object param = null, int?commandTimeout = null, CommandType?commandType = null)
 {
     return(cnn.DbConnection.Execute(sql, param, cnn.CurrentTransaction, commandTimeout, commandType));
 }
 public static IEnumerable <T> Query <T>(this IAdoSupport ado, CommandDefinition command)
 {
     return(ado.DbConnection.Query <T>(command));
 }