项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseRepository/UnitOfWorks/IUnitOfWorkManage.cs
对比新文件 @@ -0,0 +1,25 @@ 锘縰sing SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace WIDESEA_Core.BaseRepository { public interface IUnitOfWorkManage { SqlSugarClient GetDbClient(); int TranCount { get; } UnitOfWork CreateUnitOfWork(); void BeginTran(); void BeginTran(MethodInfo method); void CommitTran(); void CommitTran(MethodInfo method); void RollbackTran(); void RollbackTran(MethodInfo method); } }