mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
db.Queryable.Includes.Select.ToList
This commit is contained in:
parent
ff8a17cbcb
commit
ccb2cc0bc4
@ -802,12 +802,16 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
result= GetExpressionValue(expression, this.SelectType).GetResultString();
|
result= GetExpressionValue(expression, this.SelectType).GetResultString();
|
||||||
}
|
}
|
||||||
if (result == null)
|
if (result == null&& this.AppendNavInfo?.AppendProperties==null)
|
||||||
{
|
{
|
||||||
return "*";
|
return "*";
|
||||||
}
|
}
|
||||||
if (this.AppendNavInfo?.AppendProperties?.Any() ==true)
|
if (this.AppendNavInfo?.AppendProperties?.Any() ==true)
|
||||||
{
|
{
|
||||||
|
if (result == null)
|
||||||
|
{
|
||||||
|
result = "*";
|
||||||
|
}
|
||||||
result += ",";
|
result += ",";
|
||||||
var shortName = "";
|
var shortName = "";
|
||||||
if (this.TableShortName.HasValue())
|
if (this.TableShortName.HasValue())
|
||||||
|
Loading…
Reference in New Issue
Block a user