DomainObjects Class Library

Field.Average Method (Boolean)

Returns the average of the values in a group where this field evaluates to a non-null value. Translates to a AVG([DISTINCT] field) SQL function.

public Average Average(
   Boolean distinct
);

Parameters

distinct
If true, then duplicate database values will not be included in the average.

See Also

Field Class | DomainObjects.Facade.Command.Expression Namespace | Field.Average Overload List