Skip to main content
Table of Contents

Class CustomerTenantsDeleted

Namespace
Stratara.Domain
Assembly
Stratara.Domain.dll

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

CustomerId Guid

The customer whose tenants are being removed.

TenantIds IReadOnlyList<Guid>

The list of affected tenant ids.

DeletedAt DateTimeOffset

Timestamp of the cascade operation.

Properties

CustomerId

The customer whose tenants are being removed.

public Guid CustomerId { get; init; }

Property Value

Guid

DeletedAt

Timestamp of the cascade operation.

public DateTimeOffset DeletedAt { get; init; }

Property Value

DateTimeOffset

TenantIds

The list of affected tenant ids.

public IReadOnlyList<Guid> TenantIds { get; init; }

Property Value

IReadOnlyList<Guid>