Share via


CollectionResultExpression.Update(ProjectionBindingExpression) 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.CollectionResultExpression Update (Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression projectionBindingExpression);
abstract member Update : Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression -> Microsoft.EntityFrameworkCore.Query.CollectionResultExpression
override this.Update : Microsoft.EntityFrameworkCore.Query.ProjectionBindingExpression -> Microsoft.EntityFrameworkCore.Query.CollectionResultExpression
Public Overridable Function Update (projectionBindingExpression As ProjectionBindingExpression) As CollectionResultExpression

Parameters

projectionBindingExpression
ProjectionBindingExpression

The ProjectionBindingExpression property of the result.

Returns

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

Applies to