Class FlatModelBuilder

Namespace: redb.Export.Flat
Assembly: redb.Export.dll

Builds the flat model of a set of Props types: the shared header table, the two list tables and,
for every Props type, its scheme table with the nested-class and collection tables below it.

The walk follows scheme synchronisation property by property, so the tables line up with the
structure tree: pass the tree of each scheme and every table and column is bound to its
_structures._id. Without the trees the model is complete except for those ids - enough to
review the shape of the tables.

public sealed class FlatModelBuilder

Inheritance

Object→FlatModelBuilder

Methods

Build(IEnumerable<Type>, IReadOnlyDictionary<Type, IReadOnlyList<StructureTreeNode>>?)

Builds the model.

public FlatDatabaseModel Build(IEnumerable<Type> propsTypes, IReadOnlyDictionary<Type, IReadOnlyList<StructureTreeNode>>? structureTrees = null)