using System.Data.Entity.Migrations;

namespace CmdjyHisFront.Dal
{
    public class DbConfig:DbMigrationsConfiguration<HisFrontDbContext>
    {
        public DbConfig() {
            AutomaticMigrationsEnabled = WebSettings.AutoMigrations;
            AutomaticMigrationDataLossAllowed = false;
        }
    }
}