You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
470 B
C#
20 lines
470 B
C#
using System.Reflection;
|
|
using SqlSugar;
|
|
|
|
namespace EntrustSettle.Repository.UnitOfWorks
|
|
{
|
|
public interface IUnitOfWorkManage
|
|
{
|
|
SqlSugarScope GetDbClient();
|
|
int TranCount { get; }
|
|
|
|
UnitOfWork CreateUnitOfWork();
|
|
|
|
void BeginTran();
|
|
void BeginTran(MethodInfo method);
|
|
void CommitTran();
|
|
void CommitTran(MethodInfo method);
|
|
void RollbackTran();
|
|
void RollbackTran(MethodInfo method);
|
|
}
|
|
} |