QuickObjects.ObjectBase Send comments on this topic.
GetGroupByExpression(Int32,Int32,IBusinessObjectCollection,IFieldCollection) Method
See Also 
Akal.QuickObjects.ObjectBase Namespace > BaseBusinessObject Class > GetGroupByExpression Method : GetGroupByExpression(Int32,Int32,IBusinessObjectCollection,IFieldCollection) Method
level
maxLevels
objectsCovered
groupByFields

GetGroupByExpression

Provides a String of field names to be included in the Group By clause separated by comma for this object and any joined objects. The Recursive property on this objects and on the joined objects determine if the joined objects will also try to add fields into the group by clause. This process will follow until the depth reaches maxLevel parameter value.

Parameters:
Description
levelCurrent level in recursion.
maxLevelsMaximum levels of business objects to cover during recursion.
objectsCoveredA collection that can be used to track what business objects are already covered.
groupByFieldsA collection that is used to add all the fields that will be used to build the group by expression.

Returns:
Type
System.String

Syntax

C# 
public string GetGroupByExpression( 
   ref int level,
   ref int maxLevels,
   ref IBusinessObjectCollection objectsCovered,
   ref IFieldCollection groupByFields
)

Parameters

level
maxLevels
objectsCovered
groupByFields

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also