Below two commands are important in building MVC project on ASP .Net platform to make sure that with the first command you are able to change the schema of the objects and with the second command you are able to update the database.
Below Are these two commands
- enable-migrations -EnableAutomaticMigrations
- Update-Database
Actually enable-migrations -EnableAutomaticMigrations -> This allows visual studio to keep track of the changes made to the db
No comments:
Post a Comment