title: Entity Framework DbContext compatible with different databases
body: <p>Using Entity Framework, I have created an application which is able to read data from the database it was modeled against.  I now have another database, with the same tables, hosted on another server.</p>
  
  <p>The problem is that the tables on the second database belong to a schema with a different name to the original, so simply changing the connection string for my context in the app.config file doesn't work. (I get the error "table or view does not exist").  There must be some mapping somewhere in the auto generated code stating the original schema name.</p>
  
  <p>What is the correct way to handle this kind of situation?
  I don't really want to have to re-model the second database as it is identical to the first.
  I can't change the databases as other applications would stop working.</p>
  
  <p>Any nudge in the right direction would be greatly appreciated.</p>