Tenantry CoreAPI reference
TenantDescriptor<TKey> class
Namespace: Tenantry.Core · Package: Tenantry.Core · API reference
Default implementation of ITenantDescriptor<TKey>.
public class TenantDescriptor<TKey> : ITenantDescriptor<TKey> where TKey : IEquatable<TKey>, IParsable<TKey>Type parameters
TKey: The tenant identifier type. SeeITenantDescriptor<TKey>for constraints.
Implements ITenantDescriptor<TKey>.
Properties
Name
Human-readable display name for the tenant.
public required string Name { get; init; }Value: string
TenantId
Unique tenant identifier used for data isolation.
public required TKey TenantId { get; init; }Value: TKey