Namespace Stratara.Abstractions.Domain
Interfaces
- IAggregate
Marker interface for event-sourced aggregates. Carries the aggregate's id — the stream id under which its events are persisted.
- ITenantAggregate
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.