dengjunjie
2025-02-24 cde56aae50adc11ff8db84e424d873843c566bfd
项目代码/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);
    }
}