DomainObjects Class Library

Count Constructor (Field, Boolean)

Returns the number of rows in a group where the given field evaluates to a non-null value. Translates to a COUNT([DISTINCT] field) SQL function.

public Count(
   Field field,
   Boolean distinct
);

Parameters

field
The database value to evaluate for non-null values.
distinct
If true, then duplicate database values will not be counted.

See Also

Count Class | DomainObjects.Facade.Command.Function Namespace | Count Constructor Overload List