Struct ComponentR1
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
CompOverhead
Per-entity storage overhead in bytes for this component's layout; 0 when the layout carries no overhead.
public int CompOverhead
Field Value
CompSize
Size in bytes of the component's per-entity data (pure struct, excluding overhead).
public int CompSize
Field Value
ComponentSPI
Root page index (SPI) of the component data segment.
public int ComponentSPI
Field Value
DefaultIndexSPI
Root page index (SPI) of the default value index segment; 0 when the component has no such index.
public int DefaultIndexSPI
Field Value
FieldCount
Number of non-static fields (static fields are not counted).
public int FieldCount
Field Value
Fields
Field descriptors for this component in declaration order, stored inline as a variable-size collection.
public ComponentCollection<FieldR1> Fields
Field Value
Name
Registered component schema name.
public String64 Name
Field Value
POCOType
Full CLR type name of the POCO backing this component.
public String64 POCOType
Field Value
SchemaName
Fully-qualified schema name of this record ("Typhon.Schema.Component").
public const string SchemaName = "Typhon.Schema.Component"
Field Value
SchemaRevision
Schema revision of the component definition, from its [Component(..., revision)] attribute.
public int SchemaRevision
Field Value
StorageMode
The component's StorageMode, persisted as its underlying byte value.
public byte StorageMode
Field Value
String64IndexSPI
Root page index (SPI) of the String64 value index segment; 0 when absent.
public int String64IndexSPI
Field Value
TailIndexSPI
Root page index (SPI) of the tail (multi-value) index segment; 0 when absent.
public int TailIndexSPI
Field Value
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