Class DbvDocument
- Namespace
- TdbIO
- Assembly
- TdbIO.dll
A gzip file whose content starts with DBV@: a name, a GUID list, a few lists of numbers and table
sections. Most numbers have no known meaning and are given raw; values that differ from the ones always seen are kept
and reported in TdbIO.TdbDocument.Warnings.
public sealed class DbvDocument : TdbDocumentInheritance
Inherited Members
Properties
B
The raw number after the GUID records.
public uint B { get; }Property Value
BaseOffset
The base byte offset of domain events (alias for TdbIO.DbvDocument.B).
public uint BaseOffset { get; }Property Value
C
The raw number after TdbIO.DbvDocument.B.
public uint C { get; }Property Value
C9Records
The records that start with C9 C0 CE DB.
public IReadOnlyList<DbvC9Record> C9Records { get; }Property Value
CurrentOffset
The current byte offset after domain events (from TdbIO.DbvDocument.T word 1; equals BaseOffset + 32 * L1.Count).
public uint CurrentOffset { get; }Property Value
DomainId
The domain identifier of the database (from TdbIO.DbvDocument.Prologue word 1: 2 for options, 3 for environment, 4 for analysis).
public uint DomainId { get; }Property Value
EventLevel
The domain event level (alias for TdbIO.DbvDocument.C; expected to be 5).
public uint EventLevel { get; }Property Value
Generation
The generation/version number of the domain file (from TdbIO.DbvDocument.ListHeader word 3), equals GuidRecords.Count + 1.
public uint Generation { get; }Property Value
GuidRecords
The GUID records in file order.
public IReadOnlyList<DbvGuidRecord> GuidRecords { get; }Property Value
L1
The first list of raw numbers; its length is stored before it.
public IReadOnlyList<uint> L1 { get; }Property Value
L2
The second list of raw numbers, signed, as long as TdbIO.DbvDocument.L1.
public IReadOnlyList<int> L2 { get; }Property Value
LastEventOffset
The byte offset of the last domain event (from TdbIO.DbvDocument.T word 4; equals CurrentOffset - 32).
public uint LastEventOffset { get; }Property Value
ListHeader
The four raw numbers after the list marker. The last one is the number of GUID records plus one.
public IReadOnlyList<uint> ListHeader { get; }Property Value
Name
The name stored after the signature, printable ASCII.
public string Name { get; }Property Value
Payload
The unpacked bytes of the file.
public ReadOnlyMemory<byte> Payload { get; }Property Value
Prologue
The six raw numbers after the name.
public IReadOnlyList<uint> Prologue { get; }Property Value
Sections
The table sections, which run to the end of the data. Row bodies are raw.
public IReadOnlyList<TableSection> Sections { get; }Property Value
T
The six raw numbers after the lists. The first one equals the last number of TdbIO.DbvDocument.ListHeader; the last one is the number of TdbIO.DbvDocument.C9Records.
public IReadOnlyList<uint> T { get; }