DbExpressionBuilder.Element(DbExpression) Metoda

Definicja

Tworzy nowy DbElementExpression zestaw, który konwertuje zestaw na pojedynczy.

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

Wyrażenie określające zestaw danych wejściowych.

Zwraca

DbElementExpression, który reprezentuje konwersję argumentu zestawu na pojedynczy.

Wyjątki

argument ma wartość null.

argument nie ma typu wyniku kolekcji.

Dotyczy