using CodeFirstMigrationsWorkflow.Model;
using Microsoft.EntityFrameworkCore;

namespace CodeFirstMigrationsWorkflow.Context
{
    class DepartmentEmployeeContext : DbContext
    {
        public DbSet<Department> Departments { get; set; }
        public DbSet<Employee> Employees { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
            => optionsBuilder.UseZen("Host=localhost;Database=Migrations");
    }
}
