Struct IndexRef
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; }