15 lines
500 B
C#
15 lines
500 B
C#
using PostFundManagement.Domain.Abstractions;
|
|
|
|
namespace PostFundManagement.Infrastructure.Database.Factories;
|
|
|
|
public sealed partial class ApplicationDbContextFactory
|
|
{
|
|
private sealed class DesignTimeTenantContextService : ITenantContextService
|
|
{
|
|
public string? TenantName => "Design Time";
|
|
public long TenantId => 0L;
|
|
public bool IsAdmin => true;
|
|
public bool HasTenantFilter => false;
|
|
public bool ByPassTenantQueryFilter { get; set; } = true;
|
|
}
|
|
} |