Browse Source

Update subquery

pull/15/MERGE
sunkaixuan 3 years ago
parent
commit
61f5f36958
  1. 36
      Src/Asp.Net/SqlSugar/ExpressionsToSql/Subquery/SubqueryableN.cs

36
Src/Asp.Net/SqlSugar/ExpressionsToSql/Subquery/SubqueryableN.cs

@ -228,6 +228,18 @@ namespace SqlSugar
{
return this;
}
public Subqueryable<T1, T2, T3,T4> WhereIF(bool isWhere, Func<T1, T2, T3,T4, bool> expression)
{
return this;
}
public TResult Select<TResult>(Func<T1, T2, T3,T4, TResult> expression) where TResult : struct
{
return default(TResult);
}
public string Select(Func<T1, T2, T3,T4, string> expression)
{
return default(string);
}
}
public class Subqueryable<T1, T2, T3> : Subqueryable<T1> where T1 : class, new()
{
@ -251,6 +263,18 @@ namespace SqlSugar
{
return this;
}
public Subqueryable<T1, T2,T3> WhereIF(bool isWhere, Func<T1, T2,T3, bool> expression)
{
return this;
}
public TResult Select<TResult>(Func<T1, T2,T3, TResult> expression) where TResult : struct
{
return default(TResult);
}
public string Select(Func<T1, T2,T3, string> expression)
{
return default(string);
}
}
public class Subqueryable<T1, T2> : Subqueryable<T1> where T1 : class, new()
{
@ -270,5 +294,17 @@ namespace SqlSugar
{
return this;
}
public Subqueryable<T1,T2> WhereIF(bool isWhere, Func<T1, T2, bool> expression)
{
return this;
}
public TResult Select<TResult>(Func<T1,T2, TResult> expression) where TResult : struct
{
return default(TResult);
}
public string Select(Func<T1, T2, string> expression)
{
return default(string);
}
}
}

Loading…
Cancel
Save