DbExpressionBuilder.Element(DbExpression) Méthode

Définition

Crée une DbElementExpression qui convertit un jeu 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

Paramètres

argument
DbExpression

Expression qui spécifie le jeu de données d'entrée.

Retours

DbElementExpression qui représente la conversion de l'argument défini spécifié en un singleton.

Exceptions

argument a la valeur null.

argument n’a pas un type de résultat collection.

S’applique à