Share via


MaterializeCollectionNavigationExpression.Update(Expression) Method

Definition

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

public virtual Microsoft.EntityFrameworkCore.Query.MaterializeCollectionNavigationExpression Update (System.Linq.Expressions.Expression subquery);
abstract member Update : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.MaterializeCollectionNavigationExpression
override this.Update : System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.MaterializeCollectionNavigationExpression
Public Overridable Function Update (subquery As Expression) As MaterializeCollectionNavigationExpression

Parameters

subquery
Expression

The Subquery property of the result.

Returns

This expression if no children changed, or an expression with the updated children.

Applies to