14 lines
468 B
C#
14 lines
468 B
C#
using AMREZ.EOP.Abstractions.Applications.Tenancy;
|
|
using AMREZ.EOP.Domain.Shared.Tenancy;
|
|
|
|
namespace AMREZ.EOP.Infrastructures.Tenancy;
|
|
|
|
public class TenantContext : ITenantContext
|
|
{
|
|
public string TenantKey { get; init; }
|
|
public string Id { get; init; } = default!;
|
|
public string? Schema { get; init; }
|
|
public string? ConnectionString { get; init; }
|
|
public TenantMode Mode { get; init; } = TenantMode.Rls;
|
|
public bool IsActive { get; init; }
|
|
} |