title: Is there any way to disable the validation of inherited properties?
body: <p>I have the following entities for example:</p>
  
  <pre><code>public class BaseClass
  {
      [Required]
      public virtual string DisplayName { get; set; }
  }
  
  public class FirstChildClass: BaseClass
  {
      public int Id { get; set; }
  }
  
  public class SecondChildClas: BaseClass
  {
     public int Id { get; set; }
  }
  </code></pre>
  
  <p>Then i have the following viewmodel:</p>
  
  <pre><code>public class MyViewModel
  {
      public FirstChildClass FirstProperty { get; set; }
      public SecondChildClass SecondProperty { get; set; }
  }
  </code></pre>
  
  <p>In my View i have a form which submits the following properties <em>FirstChildClass.Id</em> and <em>SecondChildClass.Id</em>.</p>
  
  <p>My problem is that the inherited DisplayName is added to my ModelState due to the [Required] attribute. I'd like to ignore the validation of inherited properties without removing them explicitly from the ModelState with Remove().</p>
  
  <p>Is there any way to accomplish it?</p>