DbExpressionBuilder.UnionAll(DbExpression, 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 un nouveau DbUnionAllExpression qui calcule l’union des arguments de jeu de gauche et de droite et ne supprime pas les doublons.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbUnionAllExpression ^ UnionAll(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbUnionAllExpression UnionAll(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member UnionAll : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbUnionAllExpression
<Extension()>
Public Function UnionAll (left As DbExpression, right As DbExpression) As DbUnionAllExpression
Paramètres
- left
- DbExpression
Expression qui définit l’argument de jeu de gauche.
- right
- DbExpression
Expression qui définit l’argument de jeu approprié.
Retours
Nouvelle DbUnionAllExpression qui union, y compris les doublons, des arguments gauche et droit.
Exceptions
left ou right a la valeur Null.
Aucun type de résultat de collection commun avec un type d’élément comparable à égalité n’existe entre left et right.