Skip to main content
Table of Contents

Namespace Stratara.Domain

Namespaces

Stratara.Domain.Multitenancy

Classes

CustomerTenantsDeleted

Cascade event indicating that all tenants of a customer were deleted in one operation (typically when the customer aggregate itself is being removed).

TenantActivated

Activation event — flips IsActive back to true.

TenantAssignedToCustomer

Customer-reassignment event — re-parents the tenant to a different customer.

TenantCreated

Tenant-aggregate creation event — opens a new tenant stream. The created tenant is the event's own data owner, so a tenant belongs to itself no matter which session performed the creation.

TenantDeactivated

Deactivation event — flips IsActive to false.

TenantDefaultLocaleChanged

Default-locale change event — swaps the tenant's BCP 47 default locale.

TenantDeleted

Soft-delete event for a tenant — sets the aggregate's DeletedAt stamp.

TenantRenamed

Rename event — updates the tenant's Name.