Interface IRedbObject<TProps>
Typed interface for REDB objects with specific properties type
Extends base IRedbObject adding type-safe access to properties
Provides IntelliSense and compile-time type checking
public interface IRedbObject<TProps> : IRedbObject where TProps : class
Properties
Methods
CloneWithProperties(TProps)
Create object copy with same metadata but new properties
IRedbObject<TProps> CloneWithProperties(TProps newProperties)
ComputeHashForType()
Get new hash based on current properties without changing object
Guid ComputeHashForType()
GetSchemeForTypeAsync()
Get scheme for TProps type (with cache usage)
Task<IRedbScheme> GetSchemeForTypeAsync()
GetStructureByNameAsync(string)
Get structure by field name for TProps type
Task<IRedbStructure?> GetStructureByNameAsync(string fieldName)
GetStructuresForTypeAsync()
Get scheme structures for TProps type (with cache usage)
Task<IReadOnlyCollection<IRedbStructure>> GetStructuresForTypeAsync()
RecomputeHashForType()
Recompute hash based on current TProps type properties
void RecomputeHashForType()