DbExpressionBuilder.UnionAll(DbExpression, DbExpression) Metoda

Definice

Vytvoří novou DbUnionAllExpression , která vypočítá sjednocení argumentů levé a pravé sady a neodebere duplicity.

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

Parametry

left
DbExpression

Výraz, který definuje argument sady vlevo.

right
DbExpression

Výraz, který definuje argument správné sady.

Návraty

Nový DbUnionAllExpression, který sjednocení, včetně duplicit, levé a pravé argumenty.

Výjimky

left nebo right má hodnotu null.

Neexistuje žádný společný typ výsledku kolekce s typem prvku srovnatelného s rovností mezi left a right.

Platí pro