DbGroupExpressionBinding Class

Definition

Defines the binding for the input set to a DbGroupByExpression. In addition to the properties of DbExpressionBinding, DbGroupExpressionBinding also provides access to the group element via the variable reference and to the group aggregate via the property.

public sealed class DbGroupExpressionBinding
type DbGroupExpressionBinding = class
Public NotInheritable Class DbGroupExpressionBinding
Inheritance
DbGroupExpressionBinding

Properties

Expression

Gets the DbExpression that defines the input set.

GroupAggregate

Gets the DbGroupAggregate that represents the collection of elements in the group.

GroupVariable

Gets the DbVariableReferenceExpression that references the group element variable.

GroupVariableName

Gets the name assigned to the group element variable.

GroupVariableType

Gets the type metadata of the group element variable.

Variable

Gets the DbVariableReferenceExpression that references the element variable.

VariableName

Gets the name assigned to the element variable.

VariableType

Gets the type metadata of the element variable.

Extension Methods

GroupBy(DbGroupExpressionBinding, IEnumerable<KeyValuePair<String,DbExpression>>, IEnumerable<KeyValuePair<String,DbAggregate>>)

Creates a new DbGroupByExpression that groups the elements of the input set according to the specified group keys and applies the given aggregates.

Applies to