Method LoadWithParentsAsync<TProps>(IEnumerable<long>, IRedbUser, int, bool?)

Assembly: redb.Core.dll

MAIN bulk LoadWithParentsAsync - loads objects with parent chains to root.
Uses recursive CTE to get all ancestor IDs, then bulk loads all objects.
Parents are loaded polymorphically (each with its real Props type).

public Task<List<TreeRedbObject<TProps>>> LoadWithParentsAsync<TProps>(IEnumerable<long> objectIds, IRedbUser user, int depth = 10, bool? lazyLoadProps = null) where TProps : class, new()