EasyObjects.NET Programmers Reference

DynamicQuery.AddGroupBy Method (String)

Adds a GROUP BY clause to the query using the FieldName. If you want to order the data by two columns you will need to call this method twice.

public virtual void AddGroupBy(
   string fieldName
);

Parameters

fieldName
A column to sort by

Example

VB.NET

emps.Query.AddOrderBy("ExampleColumn")
C#
emps.Query.AddOrderBy("ExampleColumn");

See Also

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