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.

Search results for: Create Clear search
C AmbientSecurityContext redb.Core.Models.Security
M CreateAdminContext() Create temporary admin context
M CreateSystemContext() Create temporary system context
M CreateUserContext(IRedbUser) Create temporary context with user
M GetOrCreateDefault() Get current context or create default system context
C CacheStatistics redb.Core.Models.Permissions
C CompleteSchemeMetadata redb.Core.Caching
P CreatedAt Metadata creation time.
C ConfigurationExtensions redb.Core.Configuration
M CreateRedbServiceBuilder(IConfiguration, string) Create builder based on configuration from IConfiguration
C CreateRoleRequest redb.Core.Models.Roles
C CreateUserRequest redb.Core.Models.Users
C E088_TreeCreateBulk redb.Examples.Examples
C E088_TreeCreateBulk_ef redb.Examples.ExamplesEf
C E089_TreeCreate redb.Examples.Examples
C E089_TreeCreate_ef redb.Examples.ExamplesEf
C E114_ListCreate redb.Examples.Examples
C E114_ListCreate_ef redb.Examples.ExamplesEf
C EffectiveUserConfiguration redb.Core.Models.Configuration
P CreatedAt Effective configuration creation time (for caching)
C FlatDdlGenerator redb.Export.Flat
M CreateIndexes(FlatTable) The statements that create the plain indexes of table (the foreign key indexes).
M CreateSequence() The statement that creates the key sequence (), starting at 1.
M CreateTable(FlatTable) The CREATE TABLE statement of table.
I IParallelImportProvider redb.Export.Providers
M CreateIndexAsync(DroppedIndex, CancellationToken) Creates one index from the statement returned.
I IRedbList redb.Core.Models.Contracts
M CreateItem(string, IRedbObject, string?) Create item for list with linked object
M CreateItem(string, long?, string?) Create item for list without adding to collection
I IRedbObject redb.Core.Models.Contracts
P DateCreate Object creation date and time
I IRedbQueryProvider redb.Core.Query
M CreateQuery<TProps>(long, long?, bool) Create new query for specified scheme.
I IRedbScopeSource redb.Core
P CanCreateScope Whether can open a scope: the service came from a container with a scope factory.
M CreateScope() Opens a scope of the service's container and returns its service of the same database; the holder ow...
I IRedbSecurityContext redb.Core.Models.Contracts
M CreateSystemContext() Create temporary system context
I IRedbService redb.Core
M CreateSystemContext() Create temporary system context.
I ISqlDialect redb.Core.Query
M ObjectStorage_SelectExistingCreateDates() SELECT id + stored creation date of existing objects. Params: $1=objectIds (array).
M Structures_CreateRootKey() CREATE the unique key of root structures. No params.
I ITreeProvider redb.Core.Providers
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, CancellationToken) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser, CancellationToken) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
I ITreeQueryProvider redb.Core.Query
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Create tree query with hierarchical constraint support.
C MigrationDiscovery redb.Core.Pro.Migration
M CreateMigrationInstance(MigrationInfo) Create migration instance
C MsSqlDialect redb.MSSql.Sql
M ObjectStorage_SelectExistingCreateDates() SELECT id + stored creation date of existing objects. Params: $1=objectIds (array).
M Structures_CreateRootKey() CREATE the unique key of root structures. No params.
C MssqlObjectStorageProvider redb.MSSql.Providers
M CreateLazyPropsLoader() Creates MSSQL-specific LazyPropsLoader for lazy property loading.
C MssqlProvider redb.Export.Providers
M CreateIndexAsync(DroppedIndex, CancellationToken) Creates one index from the statement returned.
C MssqlQueryableProvider redb.MSSql.Providers
M CreateEmptyTreeQuery<TProps>(long, long?, bool) Create empty tree query (for null rootObject case).
M CreateQuery<TProps>(long, long?, bool) Create DB-specific query provider for flat queries.
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Create DB-specific query provider for tree queries.
C MssqlQueryProvider redb.MSSql.Query
M CreateFilterParser() Creates MSSQL-specific filter expression parser.
C MssqlTreeQueryable<TProps> redb.MSSql.Query
M CreateInstance(TreeQueryContext<TProps>) Creates a new instance with the specified context.
C MssqlTreeQueryProvider redb.MSSql.Query
M CreateFilterParser() Creates MSSQL-specific filter expression parser.
M CreateQueryProvider() Creates query provider for delegation.
C NpgsqlDataSourceFactory redb.Postgres.Data
M Create(string, string?, bool) Creates a data source. With stringCollation null and
C NullToDefaultConverterFactory redb.Core.Serialization
M CreateConverter(Type, JsonSerializerOptions) Creates a converter for a specified type.
E ObjectIdResetStrategy redb.Core.Models.Configuration
T AutoCreateNewOnSave Automatic creation of new object when trying to save deleted object
C ObjectRecord redb.Export.Models
P DateCreate Creation timestamp.
C objects redb.Examples.Ef.Entities
C ObjectStorageProviderBase redb.Core.Providers.Base
M CreateLazyPropsLoader() Creates a LazyPropsLoader instance. Override in derived classes for custom implementations (e.g., Pr...
M SelectExistingAndTakeCreateDatesAsync(List<IRedbObject>, CancellationToken) Ids of the objects that exist in the database. Each existing object takes its stored
E PermissionAction redb.Core.Models.Enums
T ReadCreate Read and create permissions
C PermissionProviderBase redb.Core.Providers.Base
M OnPermissionCreatedAsync(IRedbPermission, IRedbUser?, CancellationToken) Called after permission is created. Override in Pro for audit.
M OnPermissionCreatedAsync(IRedbPermission, IRedbUser?) Called after permission is created. Override in Pro for audit.
C PostgresObjectStorageProvider redb.Postgres.Providers
M CreateLazyPropsLoader() Creates PostgreSQL-specific LazyPropsLoader for lazy property loading.
C PostgresProvider redb.Export.Providers
M CreateIndexAsync(DroppedIndex, CancellationToken) Creates one index from the statement returned.
C PostgreSqlDialect redb.Postgres.Sql
M Extension_CreateTrigram() The trigram operator classes; redb_init creates the extension, a database restored without it lacks ...
M ObjectStorage_SelectExistingCreateDates() SELECT id + stored creation date of existing objects. Params: $1=objectIds (array).
M Structures_CreateRootKey() CREATE the unique key of root structures. No params.
M Values_CreateStringCollationIndex(string) The statement that builds the index serving (_String COLLATE "collation") ILIKE under
C PostgresQueryableProvider redb.Postgres.Providers
M CreateEmptyTreeQuery<TProps>(long, long?, bool) Create empty tree query (for null rootObject case).
M CreateQuery<TProps>(long, long?, bool) Create DB-specific query provider for flat queries.
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Create DB-specific query provider for tree queries.
C PostgresQueryProvider redb.Postgres.Query
M CreateFilterParser() Creates PostgreSQL-specific filter expression parser.
C PostgresTreeQueryable<TProps> redb.Postgres.Query
M CreateInstance(TreeQueryContext<TProps>) Creates a new instance with the specified context.
C PostgresTreeQueryProvider redb.Postgres.Query
M CreateFilterParser() Creates PostgreSQL-specific filter expression parser.
M CreateQueryProvider() Creates query provider for delegation.
C ProMssqlObjectStorageProvider redb.MSSql.Pro.Providers
M CreateLazyPropsLoader() Pro: ProLazyPropsLoader for PVT materialization.
C ProMssqlTreeProvider redb.MSSql.Pro.Providers
M CreateProLazyPropsLoader() Creates ProLazyPropsLoader for PVT materialization.
C ProObjectStorageProviderBase redb.Core.Pro.Providers
M CreateLazyPropsLoader() Pro: Creates ProLazyPropsLoader for PVT materialization.
C ProPostgresObjectStorageProvider redb.Postgres.Pro.Providers
M CreateLazyPropsLoader() Pro: ProLazyPropsLoader for PVT materialization.
C ProPostgresTreeProvider redb.Postgres.Pro.Providers
M CreateProLazyPropsLoader() Creates ProLazyPropsLoader for PVT materialization.
C ProQueryableProvider redb.MSSql.Pro.Providers
M CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?) Override: MultiRoot TreeQuery also uses ProTreeQueryProvider.
M CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?) Override: MultiRoot TreeQuery by IDs also uses ProTreeQueryProvider.
M CreateQuery<TProps>(long, long?, bool) Override: Uses ProQueryProvider instead of MSSqlQueryProvider
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Override: Uses ProTreeQueryProvider instead of MSSqlTreeQueryProvider.
C ProQueryableProvider redb.Postgres.Pro.Providers
M CreateMultiRootTreeQuery<TProps>(long, long?, bool, List<IRedbObject>, int?) Override: MultiRoot TreeQuery also uses ProTreeQueryProvider.
M CreateMultiRootTreeQueryByIds<TProps>(long, long?, bool, IEnumerable<long>, int?) Override: MultiRoot TreeQuery by IDs also uses ProTreeQueryProvider.
M CreateQuery<TProps>(long, long?, bool) Override: Uses ProQueryProvider instead of PostgresQueryProvider
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Override: Uses ProTreeQueryProvider instead of PostgresTreeQueryProvider.
C ProQueryProvider redb.MSSql.Pro.Query
M CreateFilterParser() Pro: Uses ProFilterExpressionParser with arithmetic and function support
C ProQueryProvider redb.Postgres.Pro.Query
M CreateFilterParser() Pro: Uses ProFilterExpressionParser with arithmetic and function support.
C ProTreeProviderBase redb.Core.Pro.Providers
M CreateProLazyPropsLoader() Creates ProLazyPropsLoader for PVT materialization.
C ProTreeQueryProvider redb.MSSql.Pro.Query
M CreateFilterParser() Pro: Uses ProFilterExpressionParser with arithmetic and function support
C ProTreeQueryProvider redb.Postgres.Pro.Query
M CreateFilterParser() Pro: Uses ProFilterExpressionParser with arithmetic and function support
C ProviderFactory redb.Export.Providers
M Create(string) Creates a new for the given provider name.
C QueryableProviderBase redb.Core.Providers.Base
M CreateEmptyTreeQuery<TProps>(long, long?, bool) Create empty tree query (for null rootObject case).
M CreateQuery<TProps>(long, long?, bool) Create DB-specific query provider for flat queries.
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Create DB-specific query provider for tree queries.
C QueryProviderBase redb.Core.Query.Base
M CreateFacetBuilder() Creates facet filter builder.
M CreateFilterParser() Creates filter expression parser. Override for Pro features.
M CreateOrderingParser() Creates ordering expression parser.
M CreateQuery<TProps>(long, long?, bool) Create new query for specified scheme.
C RedbList redb.Core.Models.Entities
M Create(string, string?) Create new list.
M CreateItem(string, IRedbObject, string?) Create item with linked object.
M CreateItem(string, long?, string?) Create item without adding to collection.
C RedbObject redb.Core.Models.Entities
P DateCreate Object creation date and time
C RedbObjectExtensions redb.Core.Extensions
M CreateHierarchicalPath(IEnumerable<IRedbObject>, string) Creates hierarchical path string for object
C RedbObjectFactory redb.Core.Models
M CreateAsync<TProps>() Create a new object without property initialization
M CreateAsync<TProps>(TProps, bool) Create a new object with initialized properties
M CreateAsync<TProps>(TProps) Create a new object with initialized properties
M CreateBatchAsync<TProps>(IEnumerable<TProps>, bool) Batch creation of objects with cache preloading
M CreateBatchAsync<TProps>(IEnumerable<TProps>) Batch creation of objects with cache preloading
M CreateBatchChildAsync<TProps>(IRedbObject, IEnumerable<TProps>, bool) Batch creation of child objects with cache preloading
M CreateBatchChildAsync<TProps>(IRedbObject, IEnumerable<TProps>) Batch creation of child objects with cache preloading
M CreateChildAsync<TProps>(IRedbObject, TProps, bool) Create a new object as a child of an existing parent
M CreateChildAsync<TProps>(IRedbObject, TProps) Create a new object as a child of an existing parent
M CreateCopyAsync<TProps>(IRedbObject<TProps>, TProps) Create copy of existing object with new properties
M CreateFast<TProps>() Create object without automatic scheme initialization (fast)
M CreateFast<TProps>(TProps) Create object with properties without automatic scheme initialization (fast)
M CreateObject(string?) Create non-generic RedbObject with basic metadata.
M CreateWithMetadata<TProps>(TProps, long, string?, long?, long?, long?) Create object with full manual initialization of all fields
M CreateWithWarmupAsync<TProps>(TProps) Create object with metadata preload to cache
C RedbObjectRow redb.Core.Models.Entities
P DateCreate Creation date.
C RedbObjectStubWriteConverterFactory redb.Core.Serialization
M CreateConverter(Type, JsonSerializerOptions) Creates a converter for a specified type.
C RedbSecurityContext redb.Core.Models.Security
M CreateSystemContext() Create temporary system context
C RedbService redb.MSSql
M CreateMaintenanceProvider(IRedbContext, int, ILogger?) Factory for the maintenance provider (planner statistics, index health). Lazy: most
C RedbService redb.Postgres
M CreateMaintenanceProvider(IRedbContext, int, ILogger?) Factory for the maintenance provider (planner statistics, index health). Lazy: most
C RedbServiceBase redb.Core
P CanCreateScope Whether can open a scope: the service came from a container with a scope factory.
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, CancellationToken) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser, CancellationToken) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
M CreateMaintenanceProvider(IRedbContext, int, ILogger?) Factory for the maintenance provider (planner statistics, index health). Lazy: most
M CreateScope() Opens a scope of the service's container and returns its service of the same database; the holder ow...
M CreateSystemContext() Create temporary system context.
C RedbServiceConfiguration redb.Core.Models.Configuration
P CreateStringCollationIndex PostgreSQL Pro with on: build at start-up the trigram index that serves an
P EnsureCreated Automatically create database schema on startup via IHostedService.
C RedbServiceConfigurationExtensions redb.Core.Extensions
M CreateBuilder(RedbServiceConfiguration) Create builder for configuration
C RoleProviderBase redb.Core.Providers.Base
M OnRoleCreatedAsync(IRedbRole, IRedbUser?, CancellationToken) Called after role is created. Override in Pro to add audit logging.
M OnRoleCreatedAsync(IRedbRole, IRedbUser?) Called after role is created. Override in Pro to add audit logging.
C SchemeCacheStatistics redb.Core.Caching
P CreatedTime Cache creation time.
C StaticCacheStatistics redb.Core.Caching
C TreeProviderBase redb.Core.Providers.Base
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, CancellationToken) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser, CancellationToken) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject, IRedbUser) Create child object with explicit user (uses config.DefaultCheckPermissionsOnSave).
M CreateChildAsync<TProps>(TreeRedbObject<TProps>, IRedbObject) Create child object (uses _securityContext and config.DefaultCheckPermissionsOnSave).
C TreeQueryableBase<TProps> redb.Core.Query.Base
M CreateInstance(TreeQueryContext<TProps>) Creates a new instance with the specified context. Override in derived classes.
C TreeQueryProviderBase redb.Core.Query.Base
M CreateFacetBuilder() Creates facet filter builder.
M CreateFilterParser() Creates filter expression parser. Override for Pro features.
M CreateOrderingParser() Creates ordering expression parser.
M CreateQuery<TProps>(long, long?, bool) Create new query for specified scheme.
M CreateQueryProvider() Creates query provider for delegation. Override in derived classes.
M CreateTreeQuery<TProps>(long, long?, bool, long?, int?) Create tree query with hierarchical constraint support.
M CreateTreeQueryable<TProps>(TreeQueryContext<TProps>) Creates tree queryable instance. Override in derived classes.
C TypeCacheStatistics redb.Core.Caching
C UserPermissionSet redb.Core.Models.Permissions
P CreatedAt Permission set creation time
C ValueTupleDictionaryConverterFactory redb.Core.Serialization
M CreateConverter(Type, JsonSerializerOptions) Creates a converter for a specified type.