25 lines
735 B
C#
25 lines
735 B
C#
|
namespace EF6_Code_First.Migrations
|
|||
|
{
|
|||
|
using System;
|
|||
|
using System.Data.Entity;
|
|||
|
using System.Data.Entity.Migrations;
|
|||
|
using System.Linq;
|
|||
|
|
|||
|
internal sealed class Configuration : DbMigrationsConfiguration<EF6_Code_First.FlughafenModell>
|
|||
|
{
|
|||
|
public Configuration()
|
|||
|
{
|
|||
|
AutomaticMigrationsEnabled = true;
|
|||
|
AutomaticMigrationDataLossAllowed = true;
|
|||
|
}
|
|||
|
|
|||
|
protected override void Seed(EF6_Code_First.FlughafenModell context)
|
|||
|
{
|
|||
|
// This method will be called after migrating to the latest version.
|
|||
|
|
|||
|
// You can use the DbSet<T>.AddOrUpdate() helper extension method
|
|||
|
// to avoid creating duplicate seed data.
|
|||
|
}
|
|||
|
}
|
|||
|
}
|