Share via


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

Parameters

parentIdentifier
Expression

The ParentIdentifier property of the result.

outerIdentifier
Expression

The OuterIdentifier property of the result.

selfIdentifier
Expression

The SelfIdentifier 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