[]
        
(Showing Draft Content)

C1.DataCollection.C1DataCollectionEx.GroupAsync

GroupAsync Method

GroupAsync<T>(C1DataCollection<T>, Expression<Func<T, object>>)

Groups the data collection according to the specified group path.

Declaration
public static Task GroupAsync<T>(this C1DataCollection<T> dataCollection, Expression<Func<T, object>> groupPath) where T : class
Public Shared Function GroupAsync(Of T As Class)(dataCollection As C1DataCollection(Of T), groupPath As Expression(Of Func(Of T, Object))) As Task
Parameters
Type Name Description
C1DataCollection<T> dataCollection

The data collection.

Expression<Func<T, object>> groupPath

The group path.

Returns
Type Description
Task
Type Parameters
Name Description
T