Update exp to sql

This commit is contained in:
sunkaixuan 2022-12-20 20:45:45 +08:00
parent 0889e0d6f7
commit 461f915db1

View File

@ -780,7 +780,7 @@ namespace SqlSugar
private bool IsContainsArray(MethodCallExpression express, string methodName, bool isValidNativeMethod)
{
return !isValidNativeMethod && express.Method.DeclaringType.Namespace.IsIn("System.Linq", "System.Collections.Generic") && methodName == "Contains";
return !isValidNativeMethod && express.Method.DeclaringType.Namespace.IsIn("System.Collections", "System.Linq", "System.Collections.Generic") && methodName == "Contains";
}
private bool IsSubMethod(MethodCallExpression express, string methodName)
{