Appearance
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
| Name | Description |
|---|---|
EntityType | Gets the entity CLR type used to derive table metadata, or null for dynamic shapes. |
FnvHash | Gets a precomputed 64-bit FNV-1a hash of the key components. |
GeneratorType | Gets the concrete SQL generator type (provider-specific behavior). |
IsDynamic | Gets a value indicating whether this key describes a runtime/dynamic table shape. |
OptionsKey | Gets the precomputed options cache key that influences metadata derivation. |
Schema | Gets the normalized schema name used for metadata generation. |
ShapeSignature | Gets the shape signature for dynamic keys; 0 for POCO-derived keys. |
TableName | Gets 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.