DbExpressionBuilder.Element(DbExpression) Metod

Definition

Skapar en ny DbElementExpression som konverterar en uppsättning till en 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

Parametrar

argument
DbExpression

Ett uttryck som anger indatauppsättningen.

Returer

En DbElementExpression som representerar konverteringen av set-argumentet till en singleton.

Undantag

argument är null.

argument inte har någon samlingsresultattyp.

Gäller för