title: DisplayName on Model that use Entity Framework
body: <p>I have a code that look like this : </p>
  
  <pre><code>public class MyModel
  {
      [Required]
      [Display(Name = "labelForName", ResourceType = typeof(Resources.Resources))]
      public string name{ get; set; }
  }
  </code></pre>
  
  <p>The problem is the attribute Display and Required have been added in the generated model class of Entity Framework. I know I can add functionality with Partial but how can I add attribute to a class that will be erase and updated with the ORM?</p>