title: Entity Framework 4 Conventions
body: <p>Is it possible in EF4 to change conventions for a whole DbContext rather than on a per entity basis?</p>
  
  <p>Currently when I run EF4 queries I'm getting an error on foreign key relationships</p>
  
  <blockquote>
    <p>Invalid column name 'Account_Id'.</p>
  </blockquote>
  
  <p>The table being queried (User) has a column named AccountId which is a foreign key to the related table (Account), if I change the column to Account_Id, it solves the problem.</p>
  
  <p>However, the issue is that I don't want to do this on every table. I've set custom conventions no problem using NHibernate, so hopefully its as simple in EF4.</p>