API Reference
Browse the REDB API documentation. Select a namespace or type from the tree on the left, or click on items below.
Search results for: Create
Clear search
AmbientSecurityContext
redb.Core.Models.Security
CreateAdminContext()
Create temporary admin context
CreateSystemContext()
Create temporary system context
CreateUserContext(IRedbUser)
Create temporary context with user
GetOrCreateDefault()
Get current context or create default system context
BaseFilterExpressionParser
redb.Core.Query.Parsing
CreateExtendedComparison(BinaryExpression, ComparisonOperator, ValueExpression?, ValueExpression?)
Extended comparison with ValueExpression (arithmetic/functions).
CacheStatistics
redb.Core.Models.Permissions
CompleteSchemeMetadata
redb.Core.Caching
CreatedAt
Metadata creation time.
ConfigurationExtensions
redb.Core.Configuration
CreateRedbServiceBuilder(IConfiguration, string)
Create builder based on configuration from IConfiguration
CreateRoleRequest
redb.Core.Models.Roles
CreateUserRequest
redb.Core.Models.Users
E088_TreeCreateBulk
redb.Examples.Examples
E089_TreeCreate
redb.Examples.Examples
E114_ListCreate
redb.Examples.Examples
EffectiveUserConfiguration
redb.Core.Models.Configuration
CreatedAt
Effective configuration creation time (for caching)
IPermissionProvider
redb.Core.Providers
CreatePermissionAsync(PermissionRequest, IRedbUser?)
Create new permission.
IRedbList
redb.Core.Models.Contracts
CreateItem(string, IRedbObject, string?)
Create item for list with linked object
CreateItem(string, long?, string?)
Create item for list without adding to collection
IRedbObject
redb.Core.Models.Contracts
DateCreate
Object creation date and time
IRedbQueryProvider
redb.Core.Query
CreateQuery<TProps>(long, long?, bool)
Create new query for specified scheme.
IRedbSecurityContext
redb.Core.Models.Contracts
CreateSystemContext()
Create temporary system context
IRedbService
redb.Core
CreateSystemContext()
Create temporary system context.
IRoleProvider
redb.Core.Providers
CreateRoleAsync(CreateRoleRequest, IRedbUser?)
Create new role.
ITreeProvider
redb.Core.Providers
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser)
Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject)
Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
ITreeQueryProvider
redb.Core.Query
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Create tree query with hierarchical constraint support.
IUserConfigurationService
redb.Core.Configuration
CreateConfigurationAsync(string, UserConfigurationProps, string?)
Create new configuration
IUserProvider
redb.Core.Providers
CreateUserAsync(CreateUserRequest, IRedbUser?)
Create new user.
ValidateUserDataAsync(CreateUserRequest)
Validate user data correctness.
MigrationDiscovery
redb.Core.Pro.Migration
CreateMigrationInstance(MigrationInfo)
Create migration instance
MssqlObjectStorageProvider
redb.MSSql.Providers
CreateLazyPropsLoader()
Creates MSSQL-specific LazyPropsLoader for lazy property loading.
MssqlQueryableProvider
redb.MSSql.Providers
CreateEmptyTreeQuery<TProps>(long, long?, bool)
Create empty tree query (for null rootObject case).
CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?)
Create tree query for multiple root objects.
CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?)
Create tree query for multiple root object IDs.
CreateQuery<TProps>(long, long?, bool)
Create DB-specific query provider for flat queries.
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Create DB-specific query provider for tree queries.
MssqlQueryProvider
redb.MSSql.Query
CreateFilterParser()
Creates MSSQL-specific filter expression parser.
MssqlTreeQueryable<TProps>
redb.MSSql.Query
CreateInstance(TreeQueryContext<TProps>)
Creates a new instance with the specified context.
MssqlTreeQueryProvider
redb.MSSql.Query
CreateFilterParser()
Creates MSSQL-specific filter expression parser.
CreateQueryProvider()
Creates query provider for delegation.
CreateTreeQueryable<TProps>(TreeQueryContext<TProps>)
Creates tree queryable instance.
NullToDefaultConverterFactory
redb.Core.Serialization
CreateConverter(Type, JsonSerializerOptions)
Creates a converter for a specified type.
ObjectIdResetStrategy
redb.Core.Models.Configuration
AutoCreateNewOnSave
Automatic creation of new object when trying to save deleted object
ObjectRecord
redb.Export.Models
DateCreate
Creation timestamp.
ObjectStorageProviderBase
redb.Core.Providers.Base
CreateLazyPropsLoader()
Creates a LazyPropsLoader instance. Override in derived classes for custom implementations (e.g., Pr...
PermissionAction
redb.Core.Models.Enums
ReadCreate
Read and create permissions
PermissionProviderBase
redb.Core.Providers.Base
CreatePermissionAsync(PermissionRequest, IRedbUser?)
Create new permission.
OnPermissionCreatedAsync(IRedbPermission, IRedbUser?)
Called after permission is created. Override in Pro for audit.
PostgresObjectStorageProvider
redb.Postgres.Providers
CreateLazyPropsLoader()
Creates PostgreSQL-specific LazyPropsLoader for lazy property loading.
PostgresQueryableProvider
redb.Postgres.Providers
CreateEmptyTreeQuery<TProps>(long, long?, bool)
Create empty tree query (for null rootObject case).
CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?)
Create tree query for multiple root objects.
CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?)
Create tree query for multiple root object IDs.
CreateQuery<TProps>(long, long?, bool)
Create DB-specific query provider for flat queries.
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Create DB-specific query provider for tree queries.
PostgresQueryProvider
redb.Postgres.Query
CreateFilterParser()
Creates PostgreSQL-specific filter expression parser.
PostgresTreeQueryable<TProps>
redb.Postgres.Query
CreateInstance(TreeQueryContext<TProps>)
Creates a new instance with the specified context.
PostgresTreeQueryProvider
redb.Postgres.Query
CreateFilterParser()
Creates PostgreSQL-specific filter expression parser.
CreateQueryProvider()
Creates query provider for delegation.
CreateTreeQueryable<TProps>(TreeQueryContext<TProps>)
Creates tree queryable instance.
ProMssqlObjectStorageProvider
redb.MSSql.Pro.Providers
CreateLazyPropsLoader()
Pro: ProLazyPropsLoader for PVT materialization.
ProMssqlTreeProvider
redb.MSSql.Pro.Providers
CreateProLazyPropsLoader()
Creates ProLazyPropsLoader for PVT materialization.
ProObjectStorageProviderBase
redb.Core.Pro.Providers
CreateLazyPropsLoader()
Pro: Creates ProLazyPropsLoader for PVT materialization.
ProPostgresObjectStorageProvider
redb.Postgres.Pro.Providers
CreateLazyPropsLoader()
Pro: ProLazyPropsLoader for PVT materialization.
ProPostgresTreeProvider
redb.Postgres.Pro.Providers
CreateProLazyPropsLoader()
Creates ProLazyPropsLoader for PVT materialization.
ProQueryableProvider
redb.MSSql.Pro.Providers
CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?)
Override: MultiRoot TreeQuery also uses ProTreeQueryProvider.
CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?)
Override: MultiRoot TreeQuery by IDs also uses ProTreeQueryProvider.
CreateQuery<TProps>(long, long?, bool)
⚡ Override: Uses ProQueryProvider instead of MSSqlQueryProvider
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Override: Uses ProTreeQueryProvider instead of MSSqlTreeQueryProvider.
ProQueryableProvider
redb.Postgres.Pro.Providers
CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?)
Override: MultiRoot TreeQuery also uses ProTreeQueryProvider.
CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?)
Override: MultiRoot TreeQuery by IDs also uses ProTreeQueryProvider.
CreateQuery<TProps>(long, long?, bool)
⚡ Override: Uses ProQueryProvider instead of PostgresQueryProvider
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Override: Uses ProTreeQueryProvider instead of PostgresTreeQueryProvider.
ProQueryProvider
redb.MSSql.Pro.Query
CreateFilterParser()
Pro: Uses ProFilterExpressionParser with arithmetic and function support
ProQueryProvider
redb.Postgres.Pro.Query
CreateFilterParser()
Pro: Uses ProFilterExpressionParser with arithmetic and function support.
ProTreeProviderBase
redb.Core.Pro.Providers
CreateProLazyPropsLoader()
Creates ProLazyPropsLoader for PVT materialization.
ProTreeQueryProvider
redb.MSSql.Pro.Query
CreateFilterParser()
Pro: Uses ProFilterExpressionParser with arithmetic and function support
ProTreeQueryProvider
redb.Postgres.Pro.Query
CreateFilterParser()
Pro: Uses ProFilterExpressionParser with arithmetic and function support
ProviderFactory
redb.Export.Providers
Create(string)
Creates a new for the given provider name.
QueryableProviderBase
redb.Core.Providers.Base
CreateEmptyTreeQuery<TProps>(long, long?, bool)
Create empty tree query (for null rootObject case).
CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?)
Create tree query for multiple root objects.
CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?)
Create tree query for multiple root object IDs.
CreateQuery<TProps>(long, long?, bool)
Create DB-specific query provider for flat queries.
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Create DB-specific query provider for tree queries.
QueryProviderBase
redb.Core.Query.Base
CreateFacetBuilder()
Creates facet filter builder.
CreateFilterParser()
Creates filter expression parser. Override for Pro features.
CreateOrderingParser()
Creates ordering expression parser.
CreateQuery<TProps>(long, long?, bool)
Create new query for specified scheme.
RedbList
redb.Core.Models.Entities
Create(string, string?)
Create new list.
CreateItem(string, IRedbObject, string?)
Create item with linked object.
CreateItem(string, long?, string?)
Create item without adding to collection.
RedbObject
redb.Core.Models.Entities
DateCreate
Object creation date and time
RedbObjectExtensions
redb.Core.Extensions
CreateHierarchicalPath(IEnumerable<IRedbObject>, string)
Creates hierarchical path string for object
RedbObjectFactory
redb.Core.Models
CreateAsync<TProps>()
Create a new object without property initialization
CreateAsync<TProps>(TProps, bool)
Create a new object with initialized properties
CreateAsync<TProps>(TProps)
Create a new object with initialized properties
CreateBatchAsync<TProps>(IEnumerable<TProps>, bool)
Batch creation of objects with cache preloading
CreateBatchAsync<TProps>(IEnumerable<TProps>)
Batch creation of objects with cache preloading
CreateBatchChildAsync<TProps>(IRedbObject, IEnumerable<TProps>, bool)
Batch creation of child objects with cache preloading
CreateBatchChildAsync<TProps>(IRedbObject, IEnumerable<TProps>)
Batch creation of child objects with cache preloading
CreateChildAsync<TProps>(IRedbObject, TProps, bool)
Create a new object as a child of an existing parent
CreateChildAsync<TProps>(IRedbObject, TProps)
Create a new object as a child of an existing parent
CreateCopyAsync<TProps>(IRedbObject<TProps>, TProps)
Create copy of existing object with new properties
CreateFast<TProps>()
Create object without automatic scheme initialization (fast)
CreateFast<TProps>(TProps)
Create object with properties without automatic scheme initialization (fast)
CreateObject(string?)
Create non-generic RedbObject with basic metadata.
CreateWithMetadata<TProps>(TProps, long, string?, long?, long?, long?)
Create object with full manual initialization of all fields
CreateWithWarmupAsync<TProps>(TProps)
Create object with metadata preload to cache
RedbObjectRow
redb.Core.Models.Entities
DateCreate
Creation date.
RedbSecurityContext
redb.Core.Models.Security
CreateSystemContext()
Create temporary system context
RedbService
redb.MSSql
CreateLazyPropsLoader(IRedbContext, ISchemeSyncProvider, IRedbObjectSerializer, RedbServiceConfiguration, string, IListProvider, ILogger?)
Create lazy props loader.
CreateListProvider(IRedbContext, RedbServiceConfiguration, ISchemeSyncProvider, ILogger?)
Create list provider.
CreateObjectStorageProvider(IRedbContext, IRedbObjectSerializer, IPermissionProvider, IRedbSecurityContext, ISchemeSyncProvider, RedbServiceConfiguration, IListProvider, ILogger?)
Create object storage provider.
CreatePermissionProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create permission provider.
CreateQueryableProvider(IRedbContext, IRedbObjectSerializer, ISchemeSyncProvider, IRedbSecurityContext, ILazyPropsLoader, RedbServiceConfiguration, string, ILogger?)
Create queryable provider.
CreateRoleProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create role provider.
CreateSchemeSyncProvider(IRedbContext, RedbServiceConfiguration, string, ILogger?)
Create scheme sync provider.
CreateTreeProvider(IRedbContext, IObjectStorageProvider, IPermissionProvider, IRedbObjectSerializer, IRedbSecurityContext, ISchemeSyncProvider, RedbServiceConfiguration, ILogger?)
Create tree provider.
CreateUserProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create user provider.
CreateValidationProvider(IRedbContext, ILogger?)
Create validation provider.
RedbService
redb.Postgres
CreateLazyPropsLoader(IRedbContext, ISchemeSyncProvider, IRedbObjectSerializer, RedbServiceConfiguration, string, IListProvider, ILogger?)
Create lazy props loader.
CreateListProvider(IRedbContext, RedbServiceConfiguration, ISchemeSyncProvider, ILogger?)
Create list provider.
CreateObjectStorageProvider(IRedbContext, IRedbObjectSerializer, IPermissionProvider, IRedbSecurityContext, ISchemeSyncProvider, RedbServiceConfiguration, IListProvider, ILogger?)
Create object storage provider.
CreatePermissionProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create permission provider.
CreateQueryableProvider(IRedbContext, IRedbObjectSerializer, ISchemeSyncProvider, IRedbSecurityContext, ILazyPropsLoader, RedbServiceConfiguration, string, ILogger?)
Create queryable provider.
CreateRoleProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create role provider.
CreateSchemeSyncProvider(IRedbContext, RedbServiceConfiguration, string, ILogger?)
Create scheme sync provider.
CreateTreeProvider(IRedbContext, IObjectStorageProvider, IPermissionProvider, IRedbObjectSerializer, IRedbSecurityContext, ISchemeSyncProvider, RedbServiceConfiguration, ILogger?)
Create tree provider.
CreateUserProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create user provider.
CreateValidationProvider(IRedbContext, ILogger?)
Create validation provider.
RedbServiceBase
redb.Core
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser)
Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject)
Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
CreateLazyPropsLoader(IRedbContext, ISchemeSyncProvider, IRedbObjectSerializer, RedbServiceConfiguration, string, IListProvider, ILogger?)
Create lazy props loader.
CreateListProvider(IRedbContext, RedbServiceConfiguration, ISchemeSyncProvider, ILogger?)
Create list provider.
CreateObjectStorageProvider(IRedbContext, IRedbObjectSerializer, IPermissionProvider, IRedbSecurityContext, ISchemeSyncProvider, RedbServiceConfiguration, IListProvider, ILogger?)
Create object storage provider.
CreatePermissionAsync(PermissionRequest, IRedbUser?)
Create new permission.
CreatePermissionProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create permission provider.
CreateQueryableProvider(IRedbContext, IRedbObjectSerializer, ISchemeSyncProvider, IRedbSecurityContext, ILazyPropsLoader, RedbServiceConfiguration, string, ILogger?)
Create queryable provider.
CreateRoleProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create role provider.
CreateSchemeSyncProvider(IRedbContext, RedbServiceConfiguration, string, ILogger?)
Create scheme sync provider.
CreateSystemContext()
Create temporary system context.
CreateTreeProvider(IRedbContext, IObjectStorageProvider, IPermissionProvider, IRedbObjectSerializer, IRedbSecurityContext, ISchemeSyncProvider, RedbServiceConfiguration, ILogger?)
Create tree provider.
CreateUserProvider(IRedbContext, IRedbSecurityContext, ILogger?)
Create user provider.
CreateValidationProvider(IRedbContext, ILogger?)
Create validation provider.
RedbServiceConfigurationExtensions
redb.Core.Extensions
CreateBuilder(RedbServiceConfiguration)
Create builder for configuration
RoleProviderBase
redb.Core.Providers.Base
CreateRoleAsync(CreateRoleRequest, IRedbUser?)
Create new role.
OnRoleCreatedAsync(IRedbRole, IRedbUser?)
Called after role is created. Override in Pro to add audit logging.
SchemeCacheStatistics
redb.Core.Caching
CreatedTime
Cache creation time.
StaticCacheStatistics
redb.Core.Caching
StructureCacheStatistics
redb.Core.Caching
TreeProviderBase
redb.Core.Providers.Base
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser)
Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject)
Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
TreeQueryableBase<TProps>
redb.Core.Query.Base
CreateInstance(TreeQueryContext<TProps>)
Creates a new instance with the specified context. Override in derived classes.
TreeQueryProviderBase
redb.Core.Query.Base
CreateFacetBuilder()
Creates facet filter builder.
CreateFilterParser()
Creates filter expression parser. Override for Pro features.
CreateOrderingParser()
Creates ordering expression parser.
CreateQuery<TProps>(long, long?, bool)
Create new query for specified scheme.
CreateQueryProvider()
Creates query provider for delegation. Override in derived classes.
CreateTreeQuery<TProps>(long, long?, bool, long?, int?)
Create tree query with hierarchical constraint support.
CreateTreeQueryable<TProps>(TreeQueryContext<TProps>)
Creates tree queryable instance. Override in derived classes.
TypeCacheStatistics
redb.Core.Caching
UserConfigurationService
redb.Core.Configuration
CreateConfigurationAsync(string, UserConfigurationProps, string?)
Create new configuration.
UserConfigurationService
redb.Postgres.Configuration
CreateConfigurationAsync(string, UserConfigurationProps, string?)
Create new configuration.
UserPermissionSet
redb.Core.Models.Permissions
CreatedAt
Permission set creation time
UserProviderBase
redb.Core.Providers.Base
CreateUserAsync(CreateUserRequest, IRedbUser?)
Create new user.
ValidateUserDataAsync(CreateUserRequest)
Validate user data correctness.
ValueTupleDictionaryConverterFactory
redb.Core.Serialization
CreateConverter(Type, JsonSerializerOptions)
Creates a converter for a specified type.