title: Adding attributes to EF6 generated entity classes
body: <p>I am using EF6 in a database first context. In this case I am using the entity classes in my MVC web project and would like to annotate the entity's fields with various validation and display attributes. However, when I refresh the entity classes by doing an update from database in my edmx designer, the classes regenerate and my attributes are lost.</p>
  
  <p>What is the best approach to getting round this?</p>