mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 08:37:25 +08:00
Update db.Queryable(queryable)
This commit is contained in:
parent
cea101d556
commit
033e91f66c
@ -438,6 +438,8 @@ namespace SqlSugar
|
||||
result.QueryBuilder.IsSqlQuery = false;
|
||||
result.QueryBuilder.NoCheckInclude = true;
|
||||
result.QueryBuilder.WhereIndex = (QueryBuilder.WhereIndex + 1);
|
||||
var appendIndex = result.QueryBuilder.Parameters == null ? 1 : result.QueryBuilder.Parameters.Count + 1;
|
||||
result.QueryBuilder.LambdaExpressions.ParameterIndex = (QueryBuilder.LambdaExpressions.ParameterIndex + appendIndex);
|
||||
result.QueryBuilder.Includes = queryable.QueryBuilder.Includes?.ToList();
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user