Class RedbUniqueKey

Assembly: redb.Route.Core.dll

Normalizes an application-composed business key so it fits the redb object key column
_objects._value_unique (440 characters, enforced in C# by the core on every provider)
and MSSQL's _objects._name (nvarchar(450)). A short key passes through untouched and
stays readable; an over-long one keeps a readable prefix and gets a SHA-256 tail computed
over the FULL original, so distinct long keys stay distinct and the mapping is deterministic.
Shared by and the redb.Route.Llm stores
(client-supplied keys — conversation ids, message keys — have no length contract).

public static class RedbUniqueKey

Inheritance

Object→RedbUniqueKey

Methods

Normalize(string)

Deterministic 440-safe form of raw.

public static string Normalize(string raw)