Property Name

Assembly: redb.Core.dll

Explicit schema name in the database. When null or empty, the schema is named after the
CLR type's — the legacy default.

Setting this on an existing project renames the schema in the database on the next
sync: the scheme row is looked up by the explicit name, then by FullName, then by the short
type name, and the first match is renamed in place (the scheme id, and therefore all objects
and structures, are untouched). Because an older binary would not find the scheme under its
new name and would create a second one, every consumer of the database must be updated
together.


Must follow C# identifier rules — Latin letters, digits, _, . and +,
no reserved words, 128 characters max. Validated before any SQL is issued; use
for human-readable titles.


Multi-node note. The name (and alias) live in this attribute — in code — so changing
them means a redeploy, which restarts every node and rebuilds each process's static scheme
caches fresh. Cross-node consistency is achieved by that restart; there is no online rename
on live nodes without restart, and it is not supported.

public string? Name { get; set; }