EasyObjects.NET Programmers Reference

DynamicQuery.AddGroupBy Method (AggregateParameter)

Adds an ORDER BY clause to the query using aggregates. Derived classes implement this, like SqlServerDynamicQuery and OracleDynamicQuery to account for differences in DBMS systems.

public abstract void AddGroupBy(
   AggregateParameter aggregate
);

Parameters

aggregate
This should be an entry from your Aggregate class

Example

emps.Query.AddGroupBy(emps.Aggregate.City)

See Also

DynamicQuery Class | NCI.EasyObjects Namespace | DynamicQuery.AddGroupBy Overload List