From 306e7792b102579fef279c44d8e0328574058ab6 Mon Sep 17 00:00:00 2001 From: sunkaixuna <610262374@qq.com> Date: Sun, 9 Jan 2022 16:36:42 +0800 Subject: [PATCH] update .net framework --- .../QueryableProvider/QueryableProvider.cs | 50 +++++++++++++++++++ Src/Asp.Net/SqlSugar/Interface/IQueryable.cs | 10 ++++ 2 files changed, 60 insertions(+) diff --git a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs index 1122deed8..ade33df4f 100644 --- a/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs +++ b/Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs @@ -3163,6 +3163,11 @@ namespace SqlSugar #endregion #region Order + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -3697,6 +3702,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -4229,6 +4239,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -4718,6 +4733,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -5243,6 +5263,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -5760,6 +5785,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -6288,6 +6318,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -6834,6 +6869,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -7410,6 +7450,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); @@ -7939,6 +7984,11 @@ namespace SqlSugar #endregion #region OrderBy + public new ISugarQueryable OrderBy(string orderFileds) + { + base.OrderBy(orderFileds); + return this; + } public new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc) { _OrderBy(expression, type); diff --git a/Src/Asp.Net/SqlSugar/Interface/IQueryable.cs b/Src/Asp.Net/SqlSugar/Interface/IQueryable.cs index 5288896ad..edb8e0e70 100644 --- a/Src/Asp.Net/SqlSugar/Interface/IQueryable.cs +++ b/Src/Asp.Net/SqlSugar/Interface/IQueryable.cs @@ -317,6 +317,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -423,6 +424,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -537,6 +539,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -646,6 +649,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -762,6 +766,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -877,6 +882,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -986,6 +992,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -1097,6 +1104,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -1216,6 +1224,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); @@ -1333,6 +1342,7 @@ namespace SqlSugar #endregion #region OrderBy + new ISugarQueryable OrderBy(string orderFileds); new ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc); ISugarQueryable OrderBy(Expression> expression, OrderByType type = OrderByType.Asc);