using CodeLiturgy.Data.Application; using Microsoft.EntityFrameworkCore; using BlueWest.EfMethods; using CodeLiturgy.Domain.Model; namespace CodeLiturgy.Domain { public class SiteDbContext: DbContext { public DbSet Sites { get; set; } public DbSet Environments { get; set; } /// /// SiteDbContext Constructor. /// /// public SiteDbContext(DbContextOptions options) : base(options) { } protected override void OnModelCreating(ModelBuilder modelBuilder) { base.OnModelCreating(modelBuilder); modelBuilder.ConfigureCurrentDbModel(); } } }