Interface ITenantMembershipStore
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Stores runtime tenant memberships managed by the multi-tenancy governance companion pack.
public interface ITenantMembershipStoreProperties
Section titled “Properties”Gets the number of stored runtime tenant memberships.
int Count { get; }Property Value
Section titled “Property Value”IsDurable
Section titled “ IsDurable”Gets a value indicating whether membership state survives process restarts.
bool IsDurable { get; }Property Value
Section titled “Property Value”Memberships
Section titled “ Memberships”Gets the stored runtime tenant memberships.
IReadOnlyList<TenantMembershipDescriptor> Memberships { get; }Property Value
Section titled “Property Value”IReadOnlyList<TenantMembershipDescriptor>
Ownership
Section titled “ Ownership”Gets the ownership mode for the store implementation.
string Ownership { get; }Property Value
Section titled “Property Value”StoreKind
Section titled “ StoreKind”Gets the operator-facing store kind.
string StoreKind { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Upsert(TenantMembershipDescriptor)
Section titled “ Upsert(TenantMembershipDescriptor)”Creates or replaces one stored runtime tenant membership.
void Upsert(TenantMembershipDescriptor membership)Parameters
Section titled “Parameters”membership TenantMembershipDescriptor
The tenant membership to store.