Link to home
Start Free TrialLog in
Avatar of Steven
StevenFlag for United States of America

asked on

How to add model to database using MVC Areas?

I have added areas to my asp.net MVC application, and I have created models inside the area I have created, I'm trying to add the model to the public class ApplicationDbContext : IdentityDbContext<ApplicationUser>, so I can create a migration and update database to get that table added to my DB. but its not recognized. which is the right way of adding models that are located in areas to have them created in the database?
Thanks

PS Im using the code first approach.
ASKER CERTIFIED SOLUTION
Avatar of Misha
Misha
Flag of Russian Federation image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There is no activity from author.