PhoenixmlDb.Core
ContainerId
A lightweight, strongly-typed identifier for a container within a PhoenixmlDb database.
#ContainerId
Namespace: PhoenixmlDb.Core
A lightweight, strongly-typed identifier for a container within a PhoenixmlDb database.
ContainerId is a readonly record struct wrapping an unsigned integer, providing type safety so that container IDs cannot be accidentally mixed with DocumentId, NodeId, or other identifier types at compile time.
Container IDs are assigned by the database when a container is created and are generally obtained from API responses (e.g., IContainer.Id). You typically do not construct them manually.
The ContainerId.None value (0) serves as the null equivalent — it represents "no container" and is never assigned to a real container.
#Constructors
##ctor(UInt32)
A lightweight, strongly-typed identifier for a container within a PhoenixmlDb database.
ContainerId is a readonly record struct wrapping an unsigned integer, providing type safety so that container IDs cannot be accidentally mixed with DocumentId, NodeId, or other identifier types at compile time.
Container IDs are assigned by the database when a container is created and are generally obtained from API responses (e.g., IContainer.Id). You typically do not construct them manually.
The ContainerId.None value (0) serves as the null equivalent — it represents "no container" and is never assigned to a real container.
See also: IContainer.Id, DocumentId
#Properties
| Name | Description |
|---|---|
None
|
The null/empty container ID. Never assigned to a real container. |