DomainObjects Class Library

Field.Count Method (Boolean)

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

public Count Count(
   Boolean distinct
);

Parameters

distinct
If true, then only the count of unique values will be returned.

See Also

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