Files
DMS/DMS.Infrastructure/Interfaces/ITransaction.cs

18 lines
361 B
C#
Raw Normal View History

2025-07-19 11:11:01 +08:00
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();
}
}