From 50b8d71082a457161c73aebbebeabdab1214f7c9 Mon Sep 17 00:00:00 2001
From: sunkaixuan <610262374@qq.com>
Date: Wed, 18 Jan 2023 01:25:02 +0800
Subject: [PATCH] Add remarks
---
Src/Asp.Net/SqlSugar/SugarUnitOfWork.cs | 9 +++++++++
1 file changed, 9 insertions(+)
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; }