DbExpressionBuilder.GroupBind Method (DbExpression)

 

Creates a new group expression binding that uses generated variable and group variable names to bind the given expression.

Namespace:   System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbGroupExpressionBinding GroupBind(
	this DbExpression input
)

Parameters

input
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

The expression to bind.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbGroupExpressionBinding

A new group expression binding with the specified expression and a generated variable name and group variable name.

Exception Condition
ArgumentNullException

input is null.

ArgumentException

input does not have a collection result type.