diff --git a/Src/Asp.Net/SqlSugar/ExpressionsToSql/Subquery/SubqueryableN.cs b/Src/Asp.Net/SqlSugar/ExpressionsToSql/Subquery/SubqueryableN.cs index 138fbc6d8..24db36a4e 100644 --- a/Src/Asp.Net/SqlSugar/ExpressionsToSql/Subquery/SubqueryableN.cs +++ b/Src/Asp.Net/SqlSugar/ExpressionsToSql/Subquery/SubqueryableN.cs @@ -240,6 +240,14 @@ namespace SqlSugar { return default(string); } + public Subqueryable OrderBy(Func expression) + { + return this; + } + public Subqueryable GroupBy(Func expression) + { + return this; + } } public class Subqueryable : Subqueryable where T1 : class, new() { @@ -267,6 +275,14 @@ namespace SqlSugar { return this; } + public Subqueryable OrderBy(Func expression) + { + return this; + } + public Subqueryable GroupBy(Func expression) + { + return this; + } public TResult Select(Func expression) where TResult : struct { return default(TResult); @@ -294,6 +310,14 @@ namespace SqlSugar { return this; } + public Subqueryable OrderBy(Func expression) + { + return this; + } + public Subqueryable GroupBy(Func expression) + { + return this; + } public Subqueryable WhereIF(bool isWhere, Func expression) { return this;