Interface ILazyPropsLoader
Interface for lazy loading of RedbObject Props.
public interface ILazyPropsLoader
Methods
LoadProps<TProps>(long, long)
Synchronous Props loading (for Properties getter).
TProps LoadProps<TProps>(long objectId, long schemeId) where TProps : class, new()
LoadPropsAsync<TProps>(long, long)
Asynchronous Props loading (for explicit preload LoadPropsAsync).
Task<TProps> LoadPropsAsync<TProps>(long objectId, long schemeId) where TProps : class, new()
LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>>, HashSet<long>?, int?)
OPTIMIZED Props loading with structure_ids filter and custom depth.
Task LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>> objects, HashSet<long>? projectedStructureIds, int? propsDepth) where TProps : class, new()
LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>>, HashSet<long>?)
OPTIMIZED Props loading with structure_ids filter.
Task LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>> objects, HashSet<long>? projectedStructureIds) where TProps : class, new()
LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>>, int?)
BULK Props loading with custom depth for nested RedbObject.
Task LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>> objects, int? propsDepth) where TProps : class, new()
LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>>)
BULK Props loading for multiple objects with caching and parallelism.
Task LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>> objects) where TProps : class, new()