Interface ITenantAggregate
- Namespace
- Stratara.Abstractions.Domain
- Assembly
- Stratara.Abstractions.dll
Marker interface for tenant-scoped event-sourced aggregates. The
TenantId must be stored in the creation event's data and
hydrated on aggregate apply, so the framework can authorize cross-tenant
access via AggregationServiceTenantExtensions.AggregateOwnedByTenantAsync.
public interface ITenantAggregate : IAggregate
- Inherited Members
- Extension Methods
Properties
TenantId
The Subject (data-owner) tenant id.
Guid TenantId { get; set; }