using HrynCo.NotificationService.DAL.EF.Entities; using Microsoft.EntityFrameworkCore; namespace HrynCo.NotificationService.DAL.EF; public class NotificationDbContext : DbContext { public NotificationDbContext(DbContextOptions options) : base(options) { } internal DbSet Templates => Set(); internal DbSet Providers => Set(); internal DbSet EmailChannelUsage => Set(); protected override void OnModelCreating(ModelBuilder modelBuilder) { modelBuilder.ApplyConfigurationsFromAssembly(typeof(NotificationDbContext).Assembly); } }