Share via


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

Parameters

parentIdentifier
Expression

The ParentIdentifier property of the result.

childIdentifier
Expression

The ChildIdentifier property of the result.

selectExpression
SelectExpression

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