Sdílet prostřednictvím


DbExpressionBuilder.Bind(DbExpression) Metoda

Definice

Vytvoří nový DbExpressionBinding , který používá vygenerovaný název proměnné k vytvoření vazby daného výrazu.

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

Parametry

input
DbExpression

Výraz, který chcete vytvořit vazbu.

Návraty

Nová vazba výrazu se zadaným výrazem a vygenerovaným názvem proměnné.

Výjimky

input je null.

input nemá výsledek kolekce.

Platí pro