Class ProLazyPropsLoader
Pro implementation of lazy Props loading with PVT materialization.
Database-agnostic: uses ISqlDialectPro for SQL queries.
public class ProLazyPropsLoader : ILazyPropsLoader
Inheritance
Implements
Methods
LoadProps<TProps>(long, long)
Synchronous Props loading (for getter)
public TProps LoadProps<TProps>(long objectId, long schemeId) where TProps : class, new()
LoadPropsAsync<TProps>(long, long)
Async Props loading for single object via BULK mechanism
public 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.
public 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.
public 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.
public 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.
public Task LoadPropsForManyAsync<TProps>(List<RedbObject<TProps>> objects) where TProps : class, new()