From 315c91d1de227f5ba36fbb8e3e0672f48990a73e Mon Sep 17 00:00:00 2001 From: weitzhandler Date: Sun, 1 Feb 2015 02:12:14 +0200 Subject: [PATCH] Removed redundant call base.OnModelCreating does nothing - line removed. --- AspnetIdentitySample/Models/AppModel.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AspnetIdentitySample/Models/AppModel.cs b/AspnetIdentitySample/Models/AppModel.cs index 16b5210..64e7e8a 100644 --- a/AspnetIdentitySample/Models/AppModel.cs +++ b/AspnetIdentitySample/Models/AppModel.cs @@ -42,8 +42,6 @@ public MyDbContext() protected override void OnModelCreating(DbModelBuilder modelBuilder) { - base.OnModelCreating(modelBuilder); - // Change the name of the table to be Users instead of AspNetUsers modelBuilder.Entity() .ToTable("Users"); @@ -57,4 +55,4 @@ protected override void OnModelCreating(DbModelBuilder modelBuilder) } -} \ No newline at end of file +}