[]
Groups the data collection according to the specified group fields.
public static Task GroupAsync<T>(this IDataCollection<T> dataCollection, params string[] fields) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| string[] | fields | The fields. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |
Groups the data collection according to the specified group path.
public static Task GroupAsync<T>(this IDataCollection<T> dataCollection, Expression<Func<T, object>> groupPath) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| Expression<Func<T, object>> | groupPath | The group path. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |
Groups the data collection according to the specified group descriptions.
public static Task GroupAsync<T>(this IDataCollection<T> dataCollection, GroupDescription[] groupDescriptions) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| GroupDescription[] | groupDescriptions | The group descriptions that determine how the data will be grouped. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |
Groups the data collection according to the specified group descriptions.
public static Task GroupAsync<T>(this IDataCollection<T> dataCollection, GroupDescription[] groupDescriptions, CancellationToken cancellationToken = default) where T : class?
| Type | Name | Description |
|---|---|---|
| IDataCollection<T> | dataCollection | The data collection. |
| GroupDescription[] | groupDescriptions | The group descriptions that determine how the data will be grouped. |
| CancellationToken | cancellationToken | The cancellation token. |
| Type | Description |
|---|---|
| Task |
| Name | Description |
|---|---|
| T |