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.Export
Show all
redb.Export.Flat
Classes
| FlatDdlGenerator | Turns a into DDL for one provider. |
| FlatExportService | Unfolds redb objects into ordinary relational tables and copies the data into them. |
| FlatModelBuilder | Builds the flat model of a set of Props types: the shared header table, the two list tables and, |
| FlatNaming | Names of the flat tables and columns, and the rule that keeps every identifier within the |
| FlatStorageTypes | Chooses the of a column from its CLR type. |
Enums
| FlatStorageType | Dialect-independent type of a flat column. Each dialect maps it to a column type and to the form |
redb.Export.Flat.Model
Classes
| FlatColumn | One column of a flat table, described independently of any SQL dialect: the target column type |
| FlatDatabaseModel | The whole flat model: the three service tables followed by the tables of every scheme, each |
| FlatForeignKey | A single-column foreign key of a flat table. |
| FlatIndex | A plain index of a flat table. The export creates one for every foreign key column that no key alrea... |
| FlatTable | One flat table: its columns and constraints, plus where its rows come from in redb. |
| FlatUniqueConstraint | A unique constraint of a flat table. |
Enums
| FlatCollectionKind | Kind of the collection a table stores. |
| FlatColumnRole | The part a column plays in its table. |
| FlatDeleteRule | Delete rule of a flat foreign key. The rules mirror redb's own schema: what redb removes together |
| FlatElementKind | What one element of a collection is. |
| FlatKeyKind | How a dictionary key is laid out in the flat table. |
| FlatTableKind | What a flat table holds. |
| FlatValueSource | The _values column a payload value is read from. |
redb.Export.Models
Classes
| ExportFooter | Represents the footer (trailer) record of a .redb export file. |
| ExportHeader | Represents the header record of a .redb export file. |
| ExportRecord | Abstract base class for all data records in a .redb JSONL stream. |
| ListItemRecord | Represents a row from the _list_items table. |
| ListRecord | Represents a row from the _lists table (enumeration/lookup list). |
| MigrationRecord | Represents a row from the _migrations table: one data migration applied to a scheme (redb Pro). The ... |
| ObjectRecord | Represents a row from the _objects table (entity instance). |
| PermissionRecord | Represents a row from the _permissions table. |
| RoleRecord | Represents a row from the _roles table. |
| SchemeRecord | Represents a row from the _schemes table (schema/class definition). |
| StructureRecord | Represents a row from the _structures table (field/property definition). |
| TypeRecord | Represents a row from the _types table (REDB type definition). |
| UserRecord | Represents a row from the _users table. |
| UserRoleRecord | Represents a row from the _users_roles junction table. |
| ValueRecord | Represents a row from the _values table (EAV property value). |
redb.Export.Providers
Classes
| DroppedIndex | An index dropped for the duration of a load, with the statement that creates it again. |
| MssqlProvider | implementation for Microsoft SQL Server. |
| PostgresProvider | implementation for PostgreSQL. |
| ProviderFactory | Factory that creates instances by provider name. |
| SqliteProvider | implementation for SQLite (via Microsoft.Data.Sqlite). |
Interfaces
| IDataProvider | Abstracts database-specific operations required by the export/import pipeline. |
| IParallelImportProvider | What a provider needs to offer for an import that writes over several connections at once. |
redb.Export.Services
Classes
| ExportService | Exports an entire REDB database (or a filtered subset of schemes) to a .redb file. |
| ImportService | Imports data from a .redb file into a REDB database. |
| SchemaInitService | Creates the redb schema in a database, as redb init does: the schema an export can be imported into. |