DbExpressionBuilder.Element(DbExpression) Metodo

Definizione

Crea un nuovo DbElementExpression oggetto 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.

Valori restituiti

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

Eccezioni

argument è null.

argument non dispone di un tipo di risultato della raccolta.

Si applica a