protected async Task <int> ExecuteCommandAsync(string sql, DapperRequest request)
 {
     return(await this.connection.ExecuteAsync(sql, DynamicParametersFactory.CreateParameters(request?.Properties)));
 }
 protected int ExecuteCommand(string sql, DapperRequest request)
 {
     return(this.connection.Execute(sql, DynamicParametersFactory.CreateParameters(request?.Properties)));
 }
 protected IEnumerable <T> Query(string sql, DapperRequest request)
 {
     return(this.connection.Query <T>(sql, DynamicParametersFactory.CreateParameters(request?.Properties)));
 }
 protected async Task <IEnumerable <T> > QueryAsync(string sql, DapperRequest request)
 {
     return(await this.connection.QueryAsync <T>(sql, DynamicParametersFactory.CreateParameters(request?.Properties)));
 }
 protected T QuerySingle(string sql, DapperRequest request)
 {
     return(this.connection.QuerySingle <T>(sql, DynamicParametersFactory.CreateParameters(request.Properties)));
 }