Browse Source

Split table support navigation query

pull/33/head
sunkaixuan 2 years ago
parent
commit
c6b67f3774
  1. 5
      Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

5
Src/Asp.Net/SqlSugar/Abstract/QueryableProvider/QueryableProvider.cs

@ -1327,6 +1327,11 @@ namespace SqlSugar
else
{
var unionall = this.Context._UnionAll(tableQueryables.ToArray());
unionall.QueryBuilder.Includes = this.QueryBuilder.Includes;
if (unionall.QueryBuilder.Includes?.Any()==true)
{
unionall.QueryBuilder.NoCheckInclude = true;
}
return unionall;
}
//var values= unionall.QueryBuilder.GetSelectValue;

Loading…
Cancel
Save