Dapper-Extensions icon indicating copy to clipboard operation
Dapper-Extensions copied to clipboard

DapperAsyncExtensions DeleteAsync bug

Open noobwu opened this issue 8 years ago • 1 comments

    /// <summary>
    /// Executes a delete query using the specified predicate.
    /// </summary>
    public static Task<bool> DeleteAsync<T>(this IDbConnection connection, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class
    {
        return Instance.DeleteAsync(connection, predicate, transaction, commandTimeout);
    }

You should call ///

/// Executes a delete query using the specified predicate. /// public static Task DeleteAsync<T>(this IDbConnection connection, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class { return Instance.DeleteAsync<T>(connection, predicate, transaction, commandTimeout); }

noobwu avatar Oct 11 '17 03:10 noobwu

Didn't get it. Why removing the generics and the result type? What is this bug? What's the error that is happening?

valfrid-ly avatar May 11 '21 12:05 valfrid-ly