public virtual Task <int> DeleteAsync(string tableName, string primaryKeyName, object poco, object primaryKeyValue) { return(this.DeleteImp(tableName, primaryKeyName, poco, primaryKeyValue, this.ExecuteAsync, TaskAsyncHelper.FromResult(0))); }
public virtual Task <int> UpdateAsync(string tableName, string primaryKeyName, object poco, object primaryKeyValue, IEnumerable <string> columns) { return(this.UpdateImp(tableName, primaryKeyName, poco, primaryKeyValue, columns, async(sql, args, next) => next(await this.ExecuteAsync(sql, args).ConfigureAwait(false)), TaskAsyncHelper.FromResult(0))); }