Sdílet prostřednictvím


DbExpressionBuilder.Element(DbExpression) Metoda

Definice

Vytvoří nový DbElementExpression , který převede sadu na jednoúčelovou.

public static System.Data.Entity.Core.Common.CommandTrees.DbElementExpression Element (this System.Data.Entity.Core.Common.CommandTrees.DbExpression argument);
static member Element : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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 set na singleton.

Výjimky

argument je null.

argument nemá typ výsledku kolekce.

Platí pro