Redigera

Dela via


DbExpressionBuilder.GroupBind(DbExpression) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbGroupExpressionBinding ^ GroupBind(System::Data::Common::CommandTrees::DbExpression ^ input);
public static System.Data.Common.CommandTrees.DbGroupExpressionBinding GroupBind (this System.Data.Common.CommandTrees.DbExpression input);
static member GroupBind : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbGroupExpressionBinding
<Extension()>
Public Function GroupBind (input As DbExpression) As DbGroupExpressionBinding

Parameters

input
DbExpression

The expression to bind.

Returns

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

Exceptions

input is null.

input does not have a collection result type.

Applies to