From 2ff608acbbbec9cfe064e83c3707dd8585980b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=95=8A=E8=84=91=E8=A2=8B?= <534470428@qq.com> Date: Tue, 29 Nov 2022 13:16:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Storageable=E7=BC=93=E6=85=A2?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SqlSugar/Abstract/SaveableProvider/Storageable.cs | 2 +- Src/Asp.NetCore2/SqlSugar/Interface/IStorageable.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Asp.NetCore2/SqlSugar/Abstract/SaveableProvider/Storageable.cs b/Src/Asp.NetCore2/SqlSugar/Abstract/SaveableProvider/Storageable.cs index 8932c369d..57dfd155b 100644 --- a/Src/Asp.NetCore2/SqlSugar/Abstract/SaveableProvider/Storageable.cs +++ b/Src/Asp.NetCore2/SqlSugar/Abstract/SaveableProvider/Storageable.cs @@ -32,7 +32,7 @@ namespace SqlSugar } Expression> queryableWhereExp; - public IStorageable Where(Expression> exp) + public IStorageable TableDataRange(Expression> exp) { this.queryableWhereExp = exp; return this; diff --git a/Src/Asp.NetCore2/SqlSugar/Interface/IStorageable.cs b/Src/Asp.NetCore2/SqlSugar/Interface/IStorageable.cs index 493b8d6c1..0897a7a5b 100644 --- a/Src/Asp.NetCore2/SqlSugar/Interface/IStorageable.cs +++ b/Src/Asp.NetCore2/SqlSugar/Interface/IStorageable.cs @@ -8,7 +8,7 @@ namespace SqlSugar { public interface IStorageable where T : class, new() { - IStorageable Where(Expression> exp); + IStorageable TableDataRange(Expression> exp); IStorageable WhereColumns(Expression> columns); IStorageable WhereColumns(Expression> columns,Func formatTime); IStorageable WhereColumns(string [] columns);