Projekt/Book_club/Migrations/Configuration.cs
2019-06-01 12:34:27 +02:00

25 lines
779 B
C#

namespace Book_club.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<Book_club.Models.ApplicationDbContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = false;
ContextKey = "Book_club.Models.ApplicationDbContext";
}
protected override void Seed(Book_club.Models.ApplicationDbContext 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.
}
}
}