Table of Contents

Class RelationalGroupByShaperExpression

Namespace
Microsoft.EntityFrameworkCore.Query
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

An expression that represents creation of a grouping element in Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression.ShaperExpression for relational providers.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class RelationalGroupByShaperExpression : GroupByShaperExpression
Inheritance
RelationalGroupByShaperExpression

Constructors

RelationalGroupByShaperExpression(Expression, Expression, ShapedQueryExpression)

Creates a new instance of the RelationalGroupByShaperExpression class.

public RelationalGroupByShaperExpression(Expression keySelector, Expression elementSelector, ShapedQueryExpression groupingEnumerable)

Parameters

keySelector Expression

An expression representing key selector for the grouping result.

elementSelector Expression

An expression representing element selector for the grouping result.

groupingEnumerable ShapedQueryExpression

An expression representing subquery for enumerable over the grouping result.

Properties

ElementSelector

The expression representing the element selector for this grouping result.

public virtual Expression ElementSelector { get; }

Property Value

Expression

Methods

Print(ExpressionPrinter)

public override void Print(ExpressionPrinter expressionPrinter)

Parameters

expressionPrinter ExpressionPrinter

VisitChildren(ExpressionVisitor)

protected override Expression VisitChildren(ExpressionVisitor visitor)

Parameters

visitor ExpressionVisitor

Returns

Expression