다음을 통해 공유


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 instance.

예외

쿼리 매개 변수가 null이면 입니다.

적용 대상