Class ProjectionTenantBoundary
- Namespace
- Excalibur.EventSourcing
- Assembly
- Excalibur.EventSourcing.Abstractions.dll
An immutable declaration of estate-wide storage or one enforced tenant partition.
public sealed record ProjectionTenantBoundary : IProjectionTenantBoundary, IEquatable<ProjectionTenantBoundary>
- Inheritance
-
ProjectionTenantBoundary
- Implements
- Inherited Members
Properties
EstateWide
Gets the explicit estate-wide boundary, which provides no tenant isolation.
public static ProjectionTenantBoundary EstateWide { get; }
Property Value
TenantId
Gets the enforced tenant, or null for explicitly estate-wide storage.
public string? TenantId { get; }
Property Value
Methods
Partition(string)
Declares a partition actually enforced by the underlying store.
public static ProjectionTenantBoundary Partition(string tenantId)
Parameters
tenantIdstringThe nonblank tenant identifier, including the explicit untenanted sentinel.
Returns
- ProjectionTenantBoundary
An immutable partition boundary.