Skip to content

EnsureDynamicCacheKey Method ​

Definition ​

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

TableInfo EnsureDynamicCacheKey(ISqlGenerator generator, TableInfoOptions options = null, ulong? shapeSignature = null) ​

csharp
TableInfo EnsureDynamicCacheKey(ISqlGenerator generator, TableInfoOptions options = null, ulong? shapeSignature = null)

Assigns a dynamic CacheKey so statement pools and binders can cache this shape.

Parameters ​

NameDescription
generatorSQL generator used for provider-specific cache identity.
optionsOptional table-info options; defaults to DefaultTableInfoOptions.
shapeSignatureOptional explicit shape/revision hash. When omitted, ComputeShapeSignature is used.

Returns ​

This instance for fluent registration.