mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
-
This commit is contained in:
parent
86576373d5
commit
e9f883fa1b
@ -457,7 +457,7 @@ namespace SqlSugar
|
||||
|
||||
private bool IsSubMethod(MethodCallExpression express, string methodName)
|
||||
{
|
||||
return SubTools.SubItems(this.Context).Any(it => it.Name == methodName) && express.Object != null && express.Object.Type.Name == "Subqueryable`1";
|
||||
return SubTools.SubItemsConst.Any(it => it.Name == methodName) && express.Object != null && express.Object.Type.Name == "Subqueryable`1";
|
||||
}
|
||||
private void CheckMethod(MethodCallExpression expression)
|
||||
{
|
||||
|
@ -23,6 +23,8 @@ namespace SqlSugar
|
||||
};
|
||||
}
|
||||
|
||||
public static List<ISubOperation> SubItemsConst = SubItems(null);
|
||||
|
||||
public static string GetMethodValue(ExpressionContext context, Expression item, ResolveExpressType type)
|
||||
{
|
||||
var newContext = context.GetCopyContext();
|
||||
|
Loading…
Reference in New Issue
Block a user