I am trying to set my web.config's connectionString so it can be changed at runtime from "data source=MyDevDatabase" to "data source=MyQADatabase" using a dropdown. The app is built in ASP.NET MVC, and I am using an Entity Framework Database First approach, so I have an .edmx file in my Models folder.
Here is the closest answer I have found (scroll down to Database/Model First with connection string in app.config/web.config file).
But I am not sure how to implement it. Can someone give me an example?