Class CustomerTenantsDeleted
Cascade event indicating that all tenants of a customer were deleted in one operation (typically when the customer aggregate itself is being removed).
[ExcludeFromCodeCoverage]
public sealed record CustomerTenantsDeleted : IEquatable<CustomerTenantsDeleted>
- Inheritance
-
CustomerTenantsDeleted
- Implements
- Inherited Members
- Extension Methods
Constructors
CustomerTenantsDeleted(Guid, IReadOnlyList<Guid>, DateTimeOffset)
Cascade event indicating that all tenants of a customer were deleted in one operation (typically when the customer aggregate itself is being removed).
public CustomerTenantsDeleted(Guid CustomerId, IReadOnlyList<Guid> TenantIds, DateTimeOffset DeletedAt)
Parameters
CustomerIdGuidThe customer whose tenants are being removed.
TenantIdsIReadOnlyList<Guid>The list of affected tenant ids.
DeletedAtDateTimeOffsetTimestamp of the cascade operation.
Properties
CustomerId
The customer whose tenants are being removed.
public Guid CustomerId { get; init; }
Property Value
DeletedAt
Timestamp of the cascade operation.
public DateTimeOffset DeletedAt { get; init; }
Property Value
TenantIds
The list of affected tenant ids.
public IReadOnlyList<Guid> TenantIds { get; init; }