DbExpressionBuilder.Element(DbExpression) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.