ObjectQuery<T>.Union(ObjectQuery<T>) メソッド

定義

このクエリ ビルダー メソッドは、新しいクエリを作成します。その結果は、このクエリのすべての結果に加えて、他のクエリのすべての結果が重複せずに作成されます (つまり、結果は一意です)。

public System.Data.Entity.Core.Objects.ObjectQuery<T> Union (System.Data.Entity.Core.Objects.ObjectQuery<T> query);
member this.Union : System.Data.Entity.Core.Objects.ObjectQuery<'T> -> System.Data.Entity.Core.Objects.ObjectQuery<'T>
Public Function Union (query As ObjectQuery(Of T)) As ObjectQuery(Of T)

パラメーター

query
ObjectQuery<T>

追加する結果を表すクエリ。

戻り値

新しい ObjectQuery インスタンス。

例外

クエリ パラメーターが null の場合。

適用対象