DbFunctionAggregate.Distinct Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public bool Distinct { get; }

Property Value

Type: System.Boolean

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

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.

.NET Framework
Available since 3.5
Return to top