17 lines
414 B
C#
17 lines
414 B
C#
using System.Data.Entity.Migrations;
|
|
|
|
namespace Cmdjy.Dal
|
|
{
|
|
internal partial class Configuration:DbMigrationsConfiguration<DjyDbContext>
|
|
{
|
|
public Configuration() {
|
|
AutomaticMigrationsEnabled = WebSettings.AutoMigrations;
|
|
AutomaticMigrationDataLossAllowed = false;
|
|
}
|
|
|
|
protected override void Seed(DjyDbContext context) {
|
|
|
|
}
|
|
|
|
}
|
|
} |