Browse Source

Add remarks

pull/31/head
sunkaixuan 2 years ago
parent
commit
50b8d71082
  1. 9
      Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs

9
Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs

@ -30,6 +30,10 @@ namespace SqlSugar
bool Commit();
}
/// <summary>
/// ISaugarUnitOfWorkClear not exists SqlSugar method
/// ISugarUnitOfWork exists SqlSugar method
/// </summary>
public interface ISugarUnitOfWork : ISaugarUnitOfWorkClear
{
ISqlSugarClient Db { get; }
@ -37,6 +41,11 @@ namespace SqlSugar
SimpleClient<T> GetRepository<T>() where T : class, new();
}
/// <summary>
/// SugarUnitOfWork->ISugarUnitOfWork->ISugarUnitOfWork
/// ISaugarUnitOfWorkClear not exists SqlSugar method
/// ISugarUnitOfWork exists SqlSugar method
/// </summary>
public class SugarUnitOfWork : IDisposable, ISugarUnitOfWork
{
public ISqlSugarClient Db { get; internal set; }

Loading…
Cancel
Save