12 lines
328 B
C#
12 lines
328 B
C#
|
using System.Data.Entity.Migrations;
|
|||
|
|
|||
|
namespace CmdjyHisFront.Dal
|
|||
|
{
|
|||
|
public class DbConfig:DbMigrationsConfiguration<HisFrontDbContext>
|
|||
|
{
|
|||
|
public DbConfig() {
|
|||
|
AutomaticMigrationsEnabled = WebSettings.AutoMigrations;
|
|||
|
AutomaticMigrationDataLossAllowed = false;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|