From dcde6b3a6f654bcfdabbade606242bc6989770e4 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Fri, 7 Jul 2023 20:37:00 +0800 Subject: [PATCH] Update ITenant --- Src/Asp.Net/SqlSugar/Interface/ITenant.cs | 4 +++- Src/Asp.NetCore2/SqlSugar/Interface/ITenant.cs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Interface/ITenant.cs b/Src/Asp.Net/SqlSugar/Interface/ITenant.cs index cabaea25e..059575dfe 100644 --- a/Src/Asp.Net/SqlSugar/Interface/ITenant.cs +++ b/Src/Asp.Net/SqlSugar/Interface/ITenant.cs @@ -39,7 +39,9 @@ namespace SqlSugar IUpdateable UpdateableWithAttr(List updateObjs) where T : class, new(); IDeleteable DeleteableWithAttr(T deleteObjs) where T : class, new(); IDeleteable DeleteableWithAttr(List deleteObjs) where T : class, new(); - bool IsAnyConnection(dynamic configId); + IDeleteable DeleteableWithAttr() where T : class, new(); + + bool IsAnyConnection(dynamic configId); void Close(); void Open(); diff --git a/Src/Asp.NetCore2/SqlSugar/Interface/ITenant.cs b/Src/Asp.NetCore2/SqlSugar/Interface/ITenant.cs index cabaea25e..059575dfe 100644 --- a/Src/Asp.NetCore2/SqlSugar/Interface/ITenant.cs +++ b/Src/Asp.NetCore2/SqlSugar/Interface/ITenant.cs @@ -39,7 +39,9 @@ namespace SqlSugar IUpdateable UpdateableWithAttr(List updateObjs) where T : class, new(); IDeleteable DeleteableWithAttr(T deleteObjs) where T : class, new(); IDeleteable DeleteableWithAttr(List deleteObjs) where T : class, new(); - bool IsAnyConnection(dynamic configId); + IDeleteable DeleteableWithAttr() where T : class, new(); + + bool IsAnyConnection(dynamic configId); void Close(); void Open();