24 lines
724 B
C#
24 lines
724 B
C#
using PostFundManagement.Domain.Entities;
|
|
|
|
namespace PostFundManagement.Infrastructure.Database;
|
|
|
|
public sealed class ApplicationDbContext(DbContextOptions<ApplicationDbContext> options) : DbContext(options)
|
|
{
|
|
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>();
|
|
} |