Skip to content

Interface ITenantDomainOwnershipStore

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Stores runtime tenant-domain ownership declarations managed by the multi-tenancy governance companion pack.

public interface ITenantDomainOwnershipStore

Gets the number of stored runtime tenant-domain ownership declarations.

int Count { get; }

int

Gets the stored runtime tenant-domain ownership declarations.

IReadOnlyList<TenantDomainOwnershipDescriptor> DomainOwnerships { get; }

IReadOnlyList<TenantDomainOwnershipDescriptor>

Gets a value indicating whether tenant-domain ownership state survives process restarts.

bool IsDurable { get; }

bool

Gets the ownership mode for the store implementation.

string Ownership { get; }

string

Gets the operator-facing store kind.

string StoreKind { get; }

string

Creates or replaces one stored runtime tenant-domain ownership declaration.

void Upsert(TenantDomainOwnershipDescriptor domainOwnership)

domainOwnership TenantDomainOwnershipDescriptor

The tenant-domain ownership declaration to store.