DbExpressionBuilder.GroupBind Method (DbExpression)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public static DbGroupExpressionBinding GroupBind(
	this DbExpression input
)

Parameters

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

The expression to bind.

Return Value

Type: System.Data.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.

.NET Framework
Available since 4.5
Return to top
Show: