diff --git a/Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs b/Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs index 750ea3ab5..d3758c904 100644 --- a/Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs +++ b/Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs @@ -30,6 +30,10 @@ namespace SqlSugar bool Commit(); } + /// + /// ISaugarUnitOfWorkClear not exists SqlSugar method + /// ISugarUnitOfWork exists SqlSugar method + /// public interface ISugarUnitOfWork : ISaugarUnitOfWorkClear { ISqlSugarClient Db { get; } @@ -37,6 +41,11 @@ namespace SqlSugar SimpleClient GetRepository() where T : class, new(); } + /// + /// SugarUnitOfWork->ISugarUnitOfWork->ISugarUnitOfWork + /// ISaugarUnitOfWorkClear not exists SqlSugar method + /// ISugarUnitOfWork exists SqlSugar method + /// public class SugarUnitOfWork : IDisposable, ISugarUnitOfWork { public ISqlSugarClient Db { get; internal set; }