src/Shared/EntityFramework/Core/Objects/ObjectQuery`.cs
/// <summary>Limits the query to unique results.</summary>
/// <returns>
/// A new <see cref="T:System.Data.Entity.Core.Objects.ObjectQuery`1" /> instance that is equivalent to the original instance with SELECT DISTINCT applied.
/// </returns>
Limits the query to unique results.
Limits the query to unique results .
public ObjectQuery<T> Distinct()
        {
            if (IsLinqQuery(this))
            {
                return (ObjectQuery<T>)Queryable.Distinct(this);
            }
            return new ObjectQuery<T>(EntitySqlQueryBuilder.Distinct(QueryState));
        }
public ObjectQuery < T > Distinct ( ) { if ( IsLinqQuery ( this ) ) { return ( ObjectQuery < T > ) Queryable . Distinct ( this ) ; } return new ObjectQuery < T > ( EntitySqlQueryBuilder . Distinct ( QueryState ) ) ; }
Limits the query to unique results.
Limits the query to unique results .
A new  instance that is equivalent to the original instance with SELECT DISTINCT applied.
A new instance that is equivalent to the original instance with SELECT DISTINCT applied .