34 lines
1.0 KiB
C#
34 lines
1.0 KiB
C#
using PostFundManagement.Domain.Entities;
|
|
|
|
namespace PostFundManagement.Infrastructure.Database;
|
|
|
|
public sealed class ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : DbContext(options)
|
|
{
|
|
public DbSet<Risk> Risks => Set<Risk>();
|
|
|
|
public DbSet<Indicator> Indicators => Set<Indicator>();
|
|
|
|
public DbSet<Disbursement> Disbursements => Set<Disbursement>();
|
|
|
|
public DbSet<Milestone> Milestones => Set<Milestone>();
|
|
|
|
public DbSet<Budget> Budgets => Set<Budget>();
|
|
|
|
public DbSet<Contract> Contracts => Set<Contract>();
|
|
|
|
public DbSet<Award> Awards => Set<Award>();
|
|
|
|
public DbSet<Project> Projects => Set<Project>();
|
|
|
|
public DbSet<Organisation> Organisations => Set<Organisation>();
|
|
|
|
public DbSet<Rule> Rules => Set<Rule>();
|
|
|
|
public DbSet<Programme> Programmes => Set<Programme>();
|
|
|
|
public DbSet<Portfolio> Portfolios => Set<Portfolio>();
|
|
|
|
public DbSet<Instrument> Instruments => Set<Instrument>();
|
|
|
|
public DbSet<User> Users => Set<User>();
|
|
} |