mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Synchronization code
This commit is contained in:
parent
d065f49d11
commit
89e6eba9f8
@ -34,7 +34,7 @@ namespace SqlSugar
|
||||
this.context.SingleTableNameSubqueryShortName = (context.Expression as LambdaExpression).Parameters.First().Name;
|
||||
}
|
||||
}
|
||||
else if (context.IsSingle)
|
||||
else if (context.IsSingle&& ExpressionTool.GetMethodName(currentExpression) != "ToList")
|
||||
{
|
||||
if (context.Expression is LambdaExpression)
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ namespace SqlSugar
|
||||
this.context.SingleTableNameSubqueryShortName = (context.Expression as LambdaExpression).Parameters.First().Name;
|
||||
}
|
||||
}
|
||||
else if (context.IsSingle)
|
||||
else if (context.IsSingle&& ExpressionTool.GetMethodName(currentExpression) != "ToList")
|
||||
{
|
||||
if (context.Expression is LambdaExpression)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user