DbExpressionBuilder.UnionAll(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbUnionAllExpression that computes the union of the left and right set arguments and does not remove duplicates.
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
Parameters
- left
- DbExpression
An expression that defines the left set argument.
- right
- DbExpression
An expression that defines the right set argument.
Returns
A new DbUnionAllExpression that union, including duplicates, of the left and right arguments.
Exceptions
left
or right
is null.
No common collection result type with an equality-comparable element type exists between left
and right
.