mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Synchronization code
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user