Class E081_OrderByThenBy

Assembly: redb.Examples.dll

Sort employees by multiple fields using ThenBy.
Sort by department, then by salary descending.

[ExampleMeta("E081", "OrderBy + ThenBy", "Query", ExampleTier.Free, 1, new string[] { "OrderBy", "ThenBy", "Sort" })]
public class E081_OrderByThenBy : ExampleBase

Inheritance

ObjectExampleBaseE081_OrderByThenBy

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)