Example #1
0
 public virtual async Task <T> ExecuteAsync <T>(Func <IDbConnection, Task <T> > func) => await DbClient.ExecuteAsync <T>(await this.CreateConnectionAsync(), func);
Example #2
0
 public virtual T Execute <T>(Func <IDbConnection, T> func) => DbClient.Execute <T>(this.CreateConnection(), func);