Code First Membership Provider before Migration

This commit is contained in:
2012-12-18 15:17:00 -05:00
parent 2bcca06b7e
commit 9f6e2a0702
12 changed files with 1224 additions and 10 deletions
+4 -5
View File
@@ -1,18 +1,17 @@
using MileageTraker.Web.Context;
namespace MileageTraker.Web.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal sealed class Configuration : DbMigrationsConfiguration<Models.MileageTrakerContext>
internal sealed class Configuration : DbMigrationsConfiguration<MileageTrakerContext>
{
public Configuration()
{
AutomaticMigrationsEnabled = true;
}
protected override void Seed(MileageTraker.Web.Models.MileageTrakerContext context)
protected override void Seed(MileageTrakerContext context)
{
// This method will be called after migrating to the latest version.