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.Postgres Show all

redb.Postgres

Classes

C RedbService PostgreSQL implementation of IRedbService.

redb.Postgres.Configuration

Classes

C UserConfigurationService Service for managing user configurations.

redb.Postgres.Data

Classes

C NpgsqlBulkOperations PostgreSQL implementation of IBulkOperations using COPY protocol.
C NpgsqlKeyGenerator PostgreSQL implementation of key generator.
C NpgsqlRedbConnection PostgreSQL implementation of IRedbConnection using Npgsql.
C NpgsqlRedbContext PostgreSQL implementation of REDB context.
C NpgsqlRedbTransaction PostgreSQL implementation of IRedbTransaction using Npgsql.

redb.Postgres.Extensions

Classes

C PostgresOptionsExtensions PostgreSQL provider extensions for RedbOptionsBuilder.
C RedbServiceExtensions Extension methods for unified REDB registration following EF Core AddDbContext pattern
C ServiceCollectionExtensions Extension methods for registering RedbService in DI container.

redb.Postgres.Pro.Extensions

Classes

C PostgresProOptionsExtensions PostgreSQL Pro provider extensions for RedbOptionsBuilder.
C ProServiceCollectionExtensions Extensions for registering Pro services in DI container.

redb.Postgres.Pro.Providers

Classes

C ProPostgresObjectStorageProvider PostgreSQL Pro version of ObjectStorageProvider.
C ProPostgresTreeProvider PostgreSQL Pro version of TreeProvider.
C ProQueryableProvider ⚡ Pro version of QueryableProvider - uses ProQueryProvider for PVT optimizations.

redb.Postgres.Pro.Query

Classes

C ExpressionToSqlCompiler Compiles C# Expression to SQL WHERE condition for PVT.
C ProQueryProvider ProQueryProvider: PVT-based Batch Aggregation.
C ProSqlBuilder PostgreSQL-specific SQL builder for Pro version.
C ProTreeQueryProvider ProTreeQueryProvider - Aggregation for trees (partial).
C PvtSqlGenerator PVT SQL generator for WHERE conditions.
C TreeQuerySqlResult Result of SQL generation for Tree Query

redb.Postgres.Pro.Query.PvtSqlGenerator

Classes

C PvtSqlGenerator.PvtCteResult Result of GeneratePvtCte - contains CTE SQL and join info.

redb.Postgres.Pro.Services

Classes

C ProRedbService Pro version of RedbService - replaces _queryProvider with ProQueryableProvider.

redb.Postgres.Pro.Sql

Classes

C ProPostgreSqlDialect Pro version of PostgreSQL dialect.

redb.Postgres.Providers

Classes

C LazyPropsLoader OpenSource implementation of lazy Props loading for PostgreSQL.
C PostgresListProvider PostgreSQL implementation of IListProvider.
C PostgresObjectStorageProvider PostgreSQL implementation of ObjectStorageProvider.
C PostgresPermissionProvider PostgreSQL implementation of permission provider.
C PostgresQueryableProvider PostgreSQL implementation of IQueryableProvider.
C PostgresRoleProvider PostgreSQL implementation of role provider.
C PostgresSchemeSyncProvider PostgreSQL implementation of scheme synchronization provider.
C PostgresTreeProvider PostgreSQL implementation of tree provider.
C PostgresUserProvider PostgreSQL implementation of user provider.
C PostgresValidationProvider PostgreSQL implementation of validation provider.

redb.Postgres.Query

Classes

C PostgresQueryProvider PostgreSQL query provider implementation.
C PostgresTreeQueryable<TProps> PostgreSQL tree queryable implementation.
C PostgresTreeQueryProvider PostgreSQL tree query provider implementation.

redb.Postgres.Sql

Classes

C PostgreSqlDialect PostgreSQL implementation of ISqlDialect.

redb.Postgres.Utils

Classes

C ValuesTopologicalSort Topological sorting of _values to maintain FK constraint on _array_parent_id.