Share via


GroupByShaperExpression.Update Method

Definition

Overloads

Update(Expression, ShapedQueryExpression)

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.

Update(Expression, Expression)

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.

Update(Expression, ShapedQueryExpression)

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

Parameters

keySelector
Expression

The KeySelector property of the result.

groupingEnumerable
ShapedQueryExpression

The GroupingEnumerable property of the result.

Returns

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

Applies to

Update(Expression, Expression)

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

Parameters

keySelector
Expression

The KeySelector property of the result.

elementSelector
Expression

The ElementSelector property of the result.

Returns

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

Applies to