Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Moving OnModelCreating

$
0
0

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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>