mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-22 09:26:36 +08:00
27 lines
575 B
C#
27 lines
575 B
C#
|
|
using Yi.Framework.Infrastructure.Ddd.Repositories;
|
|||
|
|
|
|||
|
|
namespace Yi.Framework.Infrastructure.Uow
|
|||
|
|
{
|
|||
|
|
internal class DefaultUnitOfWork : IUnitOfWork
|
|||
|
|
{
|
|||
|
|
public DefaultUnitOfWork() { }
|
|||
|
|
public bool IsTran { get; set; }
|
|||
|
|
public bool IsCommit { get; set; }
|
|||
|
|
public bool IsClose { get; set; }
|
|||
|
|
|
|||
|
|
public bool Commit()
|
|||
|
|
{
|
|||
|
|
return true;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public void Dispose()
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public IRepository<T> GetRepository<T>()
|
|||
|
|
{
|
|||
|
|
throw new NotImplementedException();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|