DbExpressionBuilder.Element(DbExpression) Metoda

Definice

Vytvoří novou DbElementExpression , která převede sadu na singleton.

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

Parametry

argument
DbExpression

Výraz, který určuje vstupní sadu.

Návraty

DbElementExpression, který představuje převod argumentu množiny na singleton.

Výjimky

argument je null.

argument nemá typ výsledku kolekce.

Platí pro