Table of Contents

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

ProjectionTenantBoundary

TenantId

Gets the enforced tenant, or null for explicitly estate-wide storage.

public string? TenantId { get; }

Property Value

string

Methods

Partition(string)

Declares a partition actually enforced by the underlying store.

public static ProjectionTenantBoundary Partition(string tenantId)

Parameters

tenantId string

The nonblank tenant identifier, including the explicit untenanted sentinel.

Returns

ProjectionTenantBoundary

An immutable partition boundary.