EF Update-Database using multiple environments
Hi guys,
I have setup 3 environments (Debug, Staging, Release) in my MVC application. I have my config split up using Web.Debug/Staging/Release.Config each having their own connection strings. Now I was wondering, if I make changes to my code-first database setup, and I want to push the changes only to 1 of them, how would I update the database based on the environment I want? Or do I simply have to use it's specific connection string each time?
Working on a MVC 4.5 application.
Also, if anyone has tips / good tutorials for migrating the application to .NET core, feel free to link me them :)
0 comments:
Post a Comment