My Asp.Net MVC application is setup as follows. There are 4 projects in solution.
<
You can change the database for an open connection
context.Database.GetDbConnection().ChangeDatabase("");