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