Share via


CollectionShaperExpression.Update(Expression, 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.CollectionShaperExpression Update (System.Linq.Expressions.Expression projection, System.Linq.Expressions.Expression innerShaper);
abstract member Update : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
override this.Update : System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.CollectionShaperExpression
Public Overridable Function Update (projection As Expression, innerShaper As Expression) As CollectionShaperExpression

Parameters

projection
Expression

The Projection property of the result.

innerShaper
Expression

The InnerShaper property of the result.

Returns

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

Applies to