I am using ASP.NET MVC 4 together with SimpleMemmbership.
When I built my application the following tables were built automatically
webpages_Membership
webpages_OAuthMembership
webpages_Roles
I can successfully register users.
However, the webpages_UsersInRoles table seems to be missing.
Does anyone know why this table is missing?
This article might assist you in resolving your issue.
Update:
The article above got us going in the right direction. Our solution was to add a definition for “webpages_UsersInRoles to our UserProfile.cs class that gets used during initialization (we are doing code first).
Then on the class that inherits dbContext we added the public DbSet UsersInRoles { get; set; }.
We then proceeded to build our project and using the VS package manager console we executed (since we are doing code first development)
The model was then updated to our expectations. I have provided all the required code in the hopes it saves someone in the future time and grief.