Class E130_GroupByListItem

Assembly: redb.Examples.dll

GroupBy by a ListItem-typed property.
Probes 3 flavors:
(1) GroupBy(p => p.Status!.Id) - key as long
(2) GroupBy(p => p.Status!.Value) - key as string
(3) GroupBy(p => p.Status) - the bare ListItem class as key
Pro/OSS parity check for grouping over RedbListItem fields.
Requires E114-E118 to run first.

[ExampleMeta("E130", "GroupBy - by ListItem (Id/Value/Bare)", "Analytics", ExampleTier.Free, 130, new string[] { "GroupBy", "ListItem", "Aggregation", "Analytics" }, RelatedApis = new string[] { "IRedbQueryable.GroupBy", "RedbListItem" })]
public class E130_GroupByListItem : ExampleBase

Inheritance

Object→ExampleBase→E130_GroupByListItem

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)