DbExpressionBuilder.Element(DbExpression) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří nový DbElementExpression , který převede sadu na jednoúčelový.
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
A DbElementExpression představuje převod set argumentu na singleton.
Výjimky
argument má hodnotu null.
argument nemá typ výsledku kolekce.