DbExpressionBuilder.UnionAll(DbExpression, DbExpression) 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 DbUnionAllExpression 物件,這個物件會計算左右集合引數的聯集,且不移除重複的項目。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbUnionAllExpression ^ UnionAll(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
C#
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
- left
- DbExpression
定義左集合引數的運算式。
- right
- DbExpression
定義右集合引數的運算式。
作為左邊和右邊引數之聯集 (包括重複項目) 的新 DbUnionAllExpression。
left
或 right
為 null。
left
和 right
之間沒有相等比較的項目型別的一般集合結果型別。
產品 | 版本 |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |