临时提交3
This commit is contained in:
17
DMS.Infrastructure/Interfaces/ITransaction.cs
Normal file
17
DMS.Infrastructure/Interfaces/ITransaction.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using SqlSugar;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DMS.Infrastructure.Interfaces
|
||||
{
|
||||
public interface ITransaction
|
||||
{
|
||||
Task BeginTranAsync();
|
||||
Task CommitTranAsync();
|
||||
SqlSugarClient GetInstance();
|
||||
Task RollbackTranAsync();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user