Browse Source

Update IAdo

pull/8/head
sunkaixuna 3 years ago
parent
commit
1fff3b8262
  1. 4
      Src/Asp.Net/SqlSugar/Interface/IAdo.cs

4
Src/Asp.Net/SqlSugar/Interface/IAdo.cs

@ -174,8 +174,8 @@ namespace SqlSugar
DbResult<bool> UseTran(Action action, Action<Exception> errorCallBack = null); DbResult<bool> UseTran(Action action, Action<Exception> errorCallBack = null);
DbResult<T> UseTran<T>(Func<T> action, Action<Exception> errorCallBack = null); DbResult<T> UseTran<T>(Func<T> action, Action<Exception> errorCallBack = null);
Task<DbResult<bool>> UseTranAsync(Action action, Action<Exception> errorCallBack = null); Task<DbResult<bool>> UseTranAsync(Func<Task> action, Action<Exception> errorCallBack = null);
Task<DbResult<T>> UseTranAsync<T>(Func<T> action, Action<Exception> errorCallBack = null); Task<DbResult<T>> UseTranAsync<T>(Func<Task<T>> action, Action<Exception> errorCallBack = null);
IAdo UseStoredProcedure(); IAdo UseStoredProcedure();

Loading…
Cancel
Save