mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 修复 Where(HzyTuple) 参数为 null 时的错误;#1744
This commit is contained in:
@ -2501,6 +2501,7 @@ namespace FreeSql.Internal
|
||||
private ParameterExpression lambdaHzyParameter;
|
||||
public LambdaExpression Modify(LambdaExpression lambda, List<SelectTableInfo> tables)
|
||||
{
|
||||
if (lambda == null) return null;
|
||||
this.tables = tables.Where(a => a.Type != SelectTableInfoType.Parent).ToList();
|
||||
parameters = this.tables.Select(a => a.Parameter ??
|
||||
Expression.Parameter(a.Table.Type,
|
||||
|
Reference in New Issue
Block a user