Colocated entity type configurations with entities
Added tenant entities and models Modified db context
This commit is contained in:
@@ -4,6 +4,12 @@ namespace PostFundManagement.Infrastructure.Database;
|
||||
|
||||
public sealed class ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : DbContext(options)
|
||||
{
|
||||
public DbSet<TenantUser> TenantUsers => Set<TenantUser>();
|
||||
|
||||
public DbSet<TenantOrganisation> TenantOrganisations => Set<TenantOrganisation>();
|
||||
|
||||
public DbSet<Tenant> Tenants => Set<Tenant>();
|
||||
|
||||
public DbSet<Notification> Notifications => Set<Notification>();
|
||||
|
||||
public DbSet<Invite> Invites => Set<Invite>();
|
||||
|
||||
Reference in New Issue
Block a user