In most asp.net applications you can change the database store by modifing the connectionstring at runtime. i.e I can change from using a test database to a production database
Here is a similar question with a better answer: Changing schema name on runtime - Entity Framework
The solution that worked for me was the one written by Jan Matousek.