mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 02:44:58 +08:00
Update Core
This commit is contained in:
@@ -51,11 +51,14 @@ namespace SqlSugar
|
||||
context.SingleTableNameSubqueryShortName = (((meExp.Body as BinaryExpression).Left as MemberExpression).Expression as ParameterExpression).Name;
|
||||
}
|
||||
if (context.SingleTableNameSubqueryShortName == selfParameterName)
|
||||
{
|
||||
if (meExp.Body is BinaryExpression)
|
||||
{
|
||||
context.SingleTableNameSubqueryShortName = (((meExp.Body as BinaryExpression).Right as MemberExpression).Expression as ParameterExpression).Name;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (context.Expression.GetType().Name == "MethodBinaryExpression")
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user