Пример #1
0
    public static Task <int> UpdateAsync <T>(this IDbTransaction transaction, T entity) where T : class
    {
        var sql = BuildUpdateSql(entity);

        return(transaction.ExecuteAsync(sql, entity));
    }