แก้ไข

แชร์ผ่าน


DbExpressionBuilder.Bind(DbExpression) Method

Definition

Creates a new DbExpressionBinding that uses a generated variable name to bind the given expression.

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

Parameters

input
DbExpression

The expression to bind.

Returns

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

Exceptions

input is null.

input does not have a collection result.

Applies to