Class FlatExportService
Unfolds redb objects into ordinary relational tables and copies the data into them.
Source and target are two independent connections, of the same provider or of different ones:
the source is read with its own dialect inside one snapshot transaction, the target receives DDL
and bulk inserts in its own dialect inside one transaction. Either everything lands in the target
or nothing does. The transfer is one-way and expects a target without the flat tables.
public sealed class FlatExportService
Inheritance
Methods
ExportAsync(IReadOnlyCollection<Type>, CancellationToken)
Exports the given Props types.
public Task ExportAsync(IReadOnlyCollection<Type> propsTypes, CancellationToken ct = default)
SchemeNameOf(Type)
Name of the scheme a Props type is stored under: the explicit name of
public static string SchemeNameOf(Type propsType)
Constructors
FlatExportService(IDataProvider, IDataProvider, bool, int)
Initializes a new instance of .