title: Change Table and Column Name Mappings Entity Framework v4.3
body: <p>I've got an application with a working Entity model generated from an existing database. I have to point my application at a new database, with the same schema, except that the table and column names are different.</p>
  
  <p>For example, my current schema has tables named like "Answer". My new schema that I need to point to has the exact same table, except it is named "tblAnswer".</p>
  
  <p>My columns have also changed. Where as a column used to be called "AnswerId", it's now "zAnswerId". Don't ask about the "z" prefix, it's a long story, but it's on every column.</p>
  
  <p>So, what options do I have to point this existing Entity Model (generated from the database) to a new database and adjust the mappings? I've been experimenting with some of the techniques that are used for "Code First" mappings, as outlined in <a href="http://weblogs.asp.net/scottgu/archive/2010/07/23/entity-framework-4-code-first-custom-database-schema-mapping.aspx">this guide</a>, but haven't had any luck. I simply don't know if this is the right approach, or if there is something that makes more sense.</p>
  
  <p>Suggestions? Thanks in advance.</p>