Table of Contents

Struct IndexRef

Namespace
Typhon.Engine
Assembly
Typhon.Engine.dll

Opaque, reusable reference to a component index (primary key or secondary). Resolved once (cold path via GetPKIndexRef<T>() or GetIndexRef<T, TKey>(Expression<Func<T, TKey>>)), reused many times at zero cost (hot path). Captures a layout version for O(1) staleness detection.

public readonly struct IndexRef
Inherited Members

Properties

IsPrimaryKey

True if this IndexRef points to the primary key index.

public bool IsPrimaryKey { get; }

Property Value

bool