Class ProPropsMaterializer
Pro Props materializer with optimized algorithms.
ConcurrentDictionary for caching MethodInfo
Optimized grouping algorithms
Database-agnostic.
public class ProPropsMaterializer
Inheritance
Methods
GetObjectProps<TProps>(long, List<RedbValue>, long, int, ConcurrentBag<long>)
Analog of get_object_json - works with values from MEMORY!
public TProps GetObjectProps<TProps>(long objectId, List<RedbValue> allValuesForObject, long schemeId, int maxDepth, ConcurrentBag<long> nestedObjectIdsCollector) where TProps : class, new()
Constructors
ProPropsMaterializer(ISchemeSyncProvider, Dictionary<long, IRedbScheme>, Dictionary<long, (string? DbType, string? TypeSemantic)>, Dictionary<long, IRedbListItem>)
NEW constructor with preloaded ListItems for BULK materialization