Skip to content

TableInfoKey Struct ​

Definition ​

Cache key for TableInfo instances.

  • Namespace: JASE.Database.Models
  • Assembly: JASE.Database.dll

Value type
Instances of this type are copied by value.

Fields ​

NameDescription
EntityTypeGets the entity CLR type used to derive table metadata, or null for dynamic shapes.
FnvHashGets a precomputed 64-bit FNV-1a hash of the key components.
GeneratorTypeGets the concrete SQL generator type (provider-specific behavior).
IsDynamicGets a value indicating whether this key describes a runtime/dynamic table shape.
OptionsKeyGets the precomputed options cache key that influences metadata derivation.
SchemaGets the normalized schema name used for metadata generation.
ShapeSignatureGets the shape signature for dynamic keys; 0 for POCO-derived keys.
TableNameGets the physical table name for dynamic keys; null for POCO-derived keys.

Remarks ​

A TableInfoKey uniquely identifies table/schema metadata for either a mapped CLR entity type or a runtime/dynamic shape (no CLR type), scoped by SQL generator, schema, and options.

The key is designed to be stable and allocation-light to support high-frequency caching scenarios. FnvHash provides a precomputed 64-bit FNV-1a hash suitable for fast lookups and diagnostics.