Ejemplo n.º 1
0
 public virtual IEnumerable <dynamic> QueryDynamic(string sql, object parameters, int?commandTimeout = null) =>
 DapperConnection.Query <dynamic>(sql, parameters, commandTimeout: commandTimeout);
Ejemplo n.º 2
0
 public virtual async Task <IEnumerable <dynamic> > QueryDynamicAsync(string sql, object parameters, int?commandTimeout = null) =>
 await DapperConnection.QueryAsync <dynamic>(sql, parameters, commandTimeout : commandTimeout);
Ejemplo n.º 3
0
 public virtual IEnumerable <dynamic> QueryDynamic(Query query, int?commandTimeout = null) =>
 DapperConnection.Query <dynamic>(query, commandTimeout: commandTimeout);
Ejemplo n.º 4
0
 public virtual async Task <IEnumerable <dynamic> > QueryDynamicAsync(Query query,
                                                                      int?commandTimeout = null) => await DapperConnection.QueryAsync <dynamic>(query, commandTimeout : commandTimeout);
Ejemplo n.º 5
0
 public virtual T ExecuteScalar <T>(string sql, object parameters, int?commandTimeout = null) =>
 DapperConnection.ExecuteScalar <T>(sql, parameters, commandTimeout: commandTimeout);
Ejemplo n.º 6
0
 public virtual async Task <T> ExecuteScalarAsync <T>(string sql, object parameters, int?commandTimeout = null) =>
 await DapperConnection.ExecuteScalarAsync <T>(sql, parameters, commandTimeout : commandTimeout);
Ejemplo n.º 7
0
 public virtual T ExecuteScalar <T>(Query query, int?commandTimeout = null) =>
 DapperConnection.ExecuteScalar <T>(query, commandTimeout: commandTimeout);
Ejemplo n.º 8
0
 public virtual async Task <T> ExecuteScalarAsync <T>(Query query, int?commandTimeout = null) =>
 await DapperConnection.ExecuteScalarAsync <T>(query, commandTimeout : commandTimeout);
Ejemplo n.º 9
0
 public virtual void Execute(string sql, object parameters = null, int?commandTimeout = null) =>
 DapperConnection.Execute(sql, parameters, commandTimeout: commandTimeout);
Ejemplo n.º 10
0
 public virtual async Task <T> ExecuteAsync <T>(Func <IDbConnection, int?, Task <T> > func, int?commandTimeout = null) =>
 await DapperConnection.ExecuteAsync(func, commandTimeout);
Ejemplo n.º 11
0
 public virtual T Execute <T>(Func <IDbConnection, int?, T> func, int?commandTimeout = null) =>
 DapperConnection.Execute(func, commandTimeout);
Ejemplo n.º 12
0
 public virtual async Task ExecuteAsync(Query query, int?commandTimeout = null) =>
 await DapperConnection.ExecuteAsync(query, commandTimeout);
Ejemplo n.º 13
0
 public virtual void Execute(Query query, int?commandTimeout = null) =>
 DapperConnection.Execute(query, commandTimeout);