ObjectQuery<T>.UnionAll(ObjectQuery<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此查詢產生器方法會建立新的查詢,其結果為此查詢的所有結果,再加上其他查詢的所有結果,包括任何重複專案 (,亦即結果不一定是唯一的) 。
public System.Data.Entity.Core.Objects.ObjectQuery<T> UnionAll (System.Data.Entity.Core.Objects.ObjectQuery<T> query);
member this.UnionAll : System.Data.Entity.Core.Objects.ObjectQuery<'T> -> System.Data.Entity.Core.Objects.ObjectQuery<'T>
Public Function UnionAll (query As ObjectQuery(Of T)) As ObjectQuery(Of T)
參數
- query
- ObjectQuery<T>
表示要加入之結果的查詢。
傳回
新的 ObjectQuery 實例。
例外狀況
如果查詢參數為 null。