RedBase Documentation

Welcome to the RedBase documentation portal. Browse the API reference, explore code examples, and learn how to build with REDB.

API Reference

Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.

Showing: redb.Core.Models Show all

redb.Core.Models

Classes

C ChildObjectInfo Model for SQL query result when loading object children
C RedbObjectFactory Factory for creating typed RedbObject<TProps> objects
C RedbSchemaProblem A problem of the database schema that does not stop the service but needs a person: it is logged as ...
C SchemeWithJson Model for optimized SQL query result
C UniqueDuplicateGroup One set of rows whose values canonicalise to the same key.
C UniqueRecomputeReport What a recomputation of _values._unique for one key structure found. Produced when a

Enums

E RedbSchemaProblemKind Kinds of .

redb.Core.Models.Collections

Classes

C TreeCollection Specialized collection for working with tree-structured objects
C TreeCollection<TProps> Typed version of collection for backward compatibility
C TreeCollectionStats Tree collection statistics

redb.Core.Models.Configuration

Classes

C ConfigurationSource Configuration parameter source
C ConfigurationValidationError Configuration validation error
C ConfigurationValidationResult Configuration validation result
C ConfigurationValidationWarning Configuration validation warning
C ConfigurationValidator RedbService configuration validator
C EffectiveUserConfiguration Effective user configuration (result of merging all configurations)
C JsonSerializationOptions JSON serialization settings
C PredefinedConfigurations Predefined configurations for various usage scenarios
C RedbServiceConfiguration RedbService behavior configuration.
C RedbServiceConfigurationBuilder Builder for convenient RedbService configuration setup
C UserConfigurationProps User configuration - personal settings and quotas

Enums

E ConfigurationValidationSeverity Configuration validation error severity level
E EavSaveStrategy EAV properties save strategy
E LazyLoadWithoutScopeMode What a lazy load does when no live redb scope reads it (owner decision 2026-09-15). See
E LazyReferenceAccessMode How the Props getter of an unloaded reference behaves (V4, review). See
E MissingObjectStrategy Strategy for handling non-existent objects on UPDATE
E ObjectIdResetStrategy Object ID handling strategy after deletion
E PropsSaveStrategy EAV properties save strategy

redb.Core.Models.Contracts

Interfaces

I IRedbList REDB list interface
I IRedbListItem REDB list item interface
I IRedbObject Base interface for all REDB objects
I IRedbObject<TProps> Typed interface for REDB objects with specific properties type
I IRedbPermission REDB permission interface
I IRedbRole REDB role interface
I IRedbScheme REDB scheme interface
I IRedbSecurityContext REDB security context
I IRedbStructure REDB scheme field structure interface
I IRedbType REDB data type interface
I IRedbUser REDB user interface
I IRedbUserRole REDB user-role relationship interface
I ISchemeCacheProvider Extension of ISchemeSyncProvider with metadata cache management methods
I ITreeNode<T> Interface for tree nodes with navigational properties and traversal operations
I ITreeRedbObject Interface for REDB tree objects with navigational properties
I ITreeRedbObject<TProps> Typed interface for tree objects with specific property type.

redb.Core.Models.Entities

Classes

C RedbList REDB list entity with direct data storage (Aggregate Root).
C RedbListItem REDB list item entity with direct data storage.
C RedbObject Base class for all Redb objects with access to metadata.
C RedbObject<TProps> Generic wrapper for JSON from get_object_json with typed interface.
C RedbObjectRow POCO for _objects table.
C RedbObjectRowExtensions The one place that turns a raw _objects row into an object header. Every provider
C RedbPermission REDB permission entity with direct data storage.
C RedbRole REDB role entity with direct data storage.
C RedbScheme REDB scheme entity with direct data storage.
C RedbStructure REDB structure (field definition) entity with direct data storage.
C RedbType REDB type entity with direct data storage.
C RedbUser REDB user entity with direct data storage.
C RedbUserRole REDB user-role association entity with direct data storage.
C RedbValue REDB value entity with direct data storage.
C StructureTreeBuilder Structure tree builder from flat lists
C StructureTreeNode Structure tree node for hierarchical navigation
C TreeDiagnosticReport Structure tree diagnostic report
C TreeRedbObject Base class for REDB tree objects with hierarchy navigation
C TreeRedbObject<TProps> ARCHITECTURAL FIX: Typed version of REDB tree object

redb.Core.Models.Enums

Enums

E PermissionAction Permission actions (flags for combining)
E UserStatus User status

redb.Core.Models.Permissions

Classes

C CacheStatistics Permissions cache statistics
C EffectivePermissionResult Result of getting user's effective permissions on object
C PermissionFlagsExtensions Extensions for working with PermissionFlags
C PermissionRequest Request for creating or updating permission
C UserPermissionResult
C UserPermissionSet User permissions set for caching
C VUserPermission

Enums

E PermissionFlags Permission flags for REDB objects

redb.Core.Models.Roles

Classes

C CreateRoleRequest Request for creating new role

redb.Core.Models.Security

Classes

C AmbientSecurityContext Ambient security context (Thread-Local)
C RedbSecurityContext REDB security context implementation

redb.Core.Models.Users

Classes

C CreateUserRequest Request for creating new user
C UpdateUserRequest Request for updating user data
C UserSearchCriteria User search criteria
C UserValidationResult User data validation result
C ValidationError Validation error

Enums

E UserSortDirection User sort direction
E UserSortField Fields for sorting users