Class E180_TreeDistinctByOrderBy
Demonstrates combining DistinctBy and OrderByDescending on TreeQuery.
Gets unique values by one field, sorted by another.
Pro feature: chained tree query operations.
[ExampleMeta("E180", "TreeQuery - DistinctBy + OrderBy", "Tree", ExampleTier.Pro, 180, new string[] { "Tree", "DistinctBy", "OrderBy", "Combined" }, RelatedApis = new string[] { "ITreeQueryable.DistinctBy", "ITreeQueryable.OrderByDescending" })]
public class E180_TreeDistinctByOrderBy : ExampleBase
Inheritance
Inherited Members
Methods
RunAsync(IRedbService)
Run the example and return result.
public override Task<ExampleResult> RunAsync(IRedbService redb)