Click or drag to resize

QuerySpecExtensionMethodsGroupByTDynamicQuery Method

Specifies the group by clause. All fields specified are the ones to group on.

Namespace:  SD.LLBLGen.Pro.QuerySpec
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax
public static TDynamicQuery GroupBy<TDynamicQuery>(
	this TDynamicQuery query,
	params Object[] fieldsToGroupOn
)
where TDynamicQuery : DynamicQuery

Parameters

query
Type: TDynamicQuery
The query.
fieldsToGroupOn
Type: SystemObject
The fields to group on.

Type Parameters

TDynamicQuery
The type of the dynamic query.

Return Value

Type: TDynamicQuery
this instance

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also