ObjectQuery<T>.Distinct メソッド

定義

結果が一意となるようにクエリを制限します。

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

戻り値

SELECT DISTINCT が適用された元のインスタンスに相当する新しい ObjectQuery<T> インスタンス。

適用対象