QueryExpression.Distinct Property

Definition

Gets or sets whether the results of the query contain duplicate entity instances.

public:
 property bool Distinct { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember]
public bool Distinct { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.Distinct : bool with get, set
Public Property Distinct As Boolean

Property Value

Boolean

Type: Booleantrue if the results of the query contain duplicate entity instances; otherwise, false.

Attributes

Applies to