Class E089_TreeCreate

Assembly: redb.Examples.dll

Sequential create tree hierarchy (Pro feature) - SLOW version.
Creates ~100 tree nodes using sequential CreateChildAsync.
Compare with E088 (bulk AddNewObjectsAsync).
Structure:

1 root (TechCorp)
10 regional offices
50 departments (5 per office)
40 teams (4 per first 10 departments)

Each CreateChildAsync = separate DB round-trip.

[ExampleMeta("E089", "Tree Create Sequential - Slow", "Trees", ExampleTier.Free, 3, new string[] { "Tree", "CreateChildAsync", "Sequential", "Pro" }, Order = 89)]
public class E089_TreeCreate : ExampleBase

Inheritance

ObjectExampleBaseE089_TreeCreate

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)