DomainObjects Class Library

Criteria.AddGroupBy Method 

Adds a group by clause against the given fieldToGroupBy.

public Criteria AddGroupBy(
   Field fieldToGroupBy
);

Parameters

fieldToGroupBy
A field from the object model. It can be a field in a persistable object, a constant or a function.

Return Value

See Also

Criteria Class | DomainObjects.Facade.Command Namespace