DbExpressionBuilder.Bind(DbExpression) Metoda

Definice

Vytvoří novou DbExpressionBinding , která použije 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ý se má svázat.

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