DbExpressionBuilder.UnionAll(DbExpression, DbExpression) Méthode

Définition

Crée un objet DbUnionAllExpression qui calcule l'union des arguments de gauche et de droite du jeu sans supprimer 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 défini à gauche.

right
DbExpression

Expression qui définit l'argument défini à droite.

Retours

Nouvelle DbUnionAllExpression qui unie des arguments de gauche et de droite, y compris des doublons.

Exceptions

left ou right est null.

Aucun type de résultat de collection commun avec un type d'élément comparable pour l'égalité n'existe entre left et right.

S’applique à