Quantcast
Viewing all articles
Browse latest Browse all 9386

Moving OnModelCreating

On using the example Individual User Accounts with VS 2015, moving OnModelCreating from the web application to a library, the tables are no longer created but still show up in the Migrations folder. If I move the OnModelCreating back into the web application, the tables are created just fine. Am I missing a step? How would I be able to have this code in a library and referenced in the web application?


Viewing all articles
Browse latest Browse all 9386

Trending Articles