Class FlatColumn
One column of a flat table, described independently of any SQL dialect: the target column type
is chosen later from .
public sealed class FlatColumn
Inheritance
Properties
ClrType
CLR type the column carries: the property type for Props values (nullable wrappers kept),
public Type ClrType { get; init; }
IsNullable
Whether the column accepts NULL. Every Props column does: an object saved before a field existed has no row for it.
public bool IsNullable { get; init; }
KeyComponent
For one component of a tuple key: the field of the tuple (Item1, Item2, ...), as stored in the key JSON.
public string? KeyComponent { get; init; }
Name
Column name as it goes into DDL (already within the identifier limit).
public string Name { get; init; }
SourceColumn
For a column: the redb column it is copied from.
public string? SourceColumn { get; init; }
StructureId
_structures._id of the field. Null for service columns, and for every column when the
public long? StructureId { get; init; }
ValueSource
The _values column the value is read from; for service columns.
public FlatValueSource ValueSource { get; init; }