DbFunctionAggregate.Distinct Property

Definition

Gets a value indicating whether this aggregate is a distinct aggregate.

public:
 property bool Distinct { bool get(); };
public bool Distinct { get; }
member this.Distinct : bool
Public ReadOnly Property Distinct As Boolean

Property Value

true if the aggregate is a distinct aggregate; otherwise, false.

Remarks

The Distinct property of the DbFunctionAggregate indicates whether the aggregate is distinct. Therefore, duplicates in the input arguments must be eliminated before the aggregate is computed.

Applies to