User in Entity type MVC5 EF6

I had the same problem and I found that I had not called

 base.OnModelCreating(modelBuilder);

in my DbModel

Leave a Comment