QueryExpression.Distinct Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Type: Booleantrue if the results of the query contain duplicate entity instances; otherwise, false.
- Attributes