Method LoadWithParentsAsync<TProps>(IEnumerable<long>, int, CancellationToken)

Assembly: redb.Core.dll

Bulk load objects by ID with parent chains to root (uses _securityContext).
Each object has its Parent chain populated up to root.
Parent objects that are common across multiple chains are shared (same reference).

Task<List<TreeRedbObject<TProps>>> LoadWithParentsAsync<TProps>(IEnumerable<long> objectIds, int depth = 10, CancellationToken cancellationToken = default) where TProps : class, new()