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