mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-12-29 11:05:47 +08:00
- 修复 UseGenerateCommandParameterWithLambda(true) 与 GroupBy 查询不生效 bug;
This commit is contained in:
@@ -173,7 +173,7 @@ namespace FreeSql.Internal
|
||||
}
|
||||
else
|
||||
{
|
||||
if (select != null && findIncludeMany != null && select._includeToList.Any() && exp.Type.IsGenericType &&
|
||||
if (_tables != null && select != null && findIncludeMany != null && select._includeToList.Any() && exp.Type.IsGenericType &&
|
||||
typeof(IEnumerable).IsAssignableFrom(exp.Type) &&
|
||||
typeof(ICollection<>).MakeGenericType(exp.Type.GetGenericArguments().FirstOrDefault()).IsAssignableFrom(exp.Type))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user