Table of Contents

Struct ComponentR1

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Persisted schema descriptor for a registered component (revision-1 layout). One row per component; makes the database self-describing and enables load-time schema validation against the runtime component definitions.

[Component("Typhon.Schema.Component", 1)]
public struct ComponentR1
Inherited Members

Fields

AssemblyId

AssemblyR1 row id (chunkId) of the assembly that declares this component. 0 = core engine assembly (implicit, never in the manifest).

public ushort AssemblyId

Field Value

ushort

CompOverhead

Per-entity storage overhead in bytes for this component's layout; 0 when the layout carries no overhead.

public int CompOverhead

Field Value

int

CompSize

Size in bytes of the component's per-entity data (pure struct, excluding overhead).

public int CompSize

Field Value

int

ComponentSPI

Root page index (SPI) of the component data segment.

public int ComponentSPI

Field Value

int

DefaultIndexSPI

Root page index (SPI) of the default value index segment; 0 when the component has no such index.

public int DefaultIndexSPI

Field Value

int

FieldCount

Number of non-static fields (static fields are not counted).

public int FieldCount

Field Value

int

Fields

Field descriptors for this component in declaration order, stored inline as a variable-size collection.

public ComponentCollection<FieldR1> Fields

Field Value

ComponentCollection<FieldR1>

Name

Registered component schema name.

public String64 Name

Field Value

String64

POCOType

Full CLR type name of the POCO backing this component.

public String64 POCOType

Field Value

String64

SchemaName

Fully-qualified schema name of this record ("Typhon.Schema.Component").

public const string SchemaName = "Typhon.Schema.Component"

Field Value

string

SchemaRevision

Schema revision of the component definition, from its [Component(..., revision)] attribute.

public int SchemaRevision

Field Value

int

StorageMode

The component's StorageMode, persisted as its underlying byte value.

public byte StorageMode

Field Value

byte

String64IndexSPI

Root page index (SPI) of the String64 value index segment; 0 when absent.

public int String64IndexSPI

Field Value

int

TailIndexSPI

Root page index (SPI) of the tail (multi-value) index segment; 0 when absent.

public int TailIndexSPI

Field Value

int

VersionSPI

Root page index (SPI) of the component's revision-table segment; 0 when the component has no revision chain (non-Versioned).

public int VersionSPI

Field Value

int