This commit is contained in:
Thanakarn Klangkasame
2025-09-30 11:01:02 +07:00
commit 92e614674c
182 changed files with 9596 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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; }
}