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.8.0.0 (5.8.21.0111)
Syntax public static TDynamicQuery GroupBy<TDynamicQuery>(
this TDynamicQuery query,
params Object[] fieldsToGroupOn
)
where TDynamicQuery : DynamicQuery
<ExtensionAttribute>
Public Shared Function GroupBy(Of TDynamicQuery As DynamicQuery) (
query As TDynamicQuery,
ParamArray fieldsToGroupOn As Object()
) As TDynamicQuery
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:
TDynamicQuerythis 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