DomainObjects Class Library

Field.Average Method

Returns the average of all values in a group including duplicate values. Translates to a AVG(field) SQL function.

Overload List

Returns the average of all values in a group including duplicate values. Translates to a AVG(field) SQL function.

public Average Average();

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);

See Also

Field Class | DomainObjects.Facade.Command.Expression Namespace