添加工作单元
This commit is contained in:
13
Yi.Framework.Net6/Yi.Framework.Uow/IUnitOfWork.cs
Normal file
13
Yi.Framework.Net6/Yi.Framework.Uow/IUnitOfWork.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Data;
|
||||
|
||||
namespace Yi.Framework.Uow
|
||||
{
|
||||
public interface IUnitOfWork : IDisposable
|
||||
{
|
||||
public void Init(bool isTransactional, IsolationLevel? isolationLevel, int? timeout);
|
||||
public void BeginTran();
|
||||
|
||||
public void CommitTran();
|
||||
public void RollbackTran();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user