EasyObjects.NET Programmers Reference

DynamicQuery.AddGroupByFormat Method 

Adds a GROUP BY clause to the query using the FieldName. The field is formatted using the current data provider's FieldFormat.

public virtual void AddGroupByFormat(
   string fieldName
);

Parameters

fieldName
The raw name of the column

Example

VB.NET

emps.Query.AddOrderBy("LastName")
emps.Query.AddOrderBy("FirstName")
C#
emps.Query.AddOrderBy("LastName");
emps.Query.AddOrderBy("FirstName");

See Also

DynamicQuery Class | NCI.EasyObjects Namespace