Class TenantInfo
- Namespace
- Compendium.Multitenancy
- Assembly
- Compendium.Multitenancy.dll
Represents information about a tenant in a multi-tenant application. Contains all necessary data to identify and configure tenant-specific behavior.
public sealed record TenantInfo : IEquatable<TenantInfo>
- Inheritance
-
TenantInfo
- Implements
- Inherited Members
Properties
ConnectionString
Gets or initializes the tenant-specific database connection string.
public string? ConnectionString { get; init; }
Property Value
CreatedAt
Gets or initializes the timestamp when the tenant was created.
public DateTime CreatedAt { get; init; }
Property Value
Id
Gets or initializes the unique identifier of the tenant.
public string Id { get; init; }
Property Value
IsActive
Gets or initializes a value indicating whether the tenant is active.
public bool IsActive { get; init; }
Property Value
Name
Gets or initializes the display name of the tenant.
public string Name { get; init; }
Property Value
Properties
Gets or initializes additional custom properties for the tenant.
public Dictionary<string, object?> Properties { get; init; }
Property Value
UpdatedAt
Gets or initializes the timestamp when the tenant was last updated.
public DateTime? UpdatedAt { get; init; }