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