DbExpressionBuilder.Element(DbExpression) Metodo

Definizione

Crea un nuovo oggetto DbElementExpression che converte un set in un 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

Parametri

argument
DbExpression

Espressione che specifica il set di input.

Restituisce

Oggetto DbElementExpression che rappresenta la conversione dell'argomento impostato in un singleton.

Eccezioni

argument è null.

argument non contiene di un tipo di risultato della raccolta.

Si applica a