title: Ignore base class / interfaces completely in entity framework 5 code first
body: <p>I have the following entity class:</p>
  
  <pre><code>[System.ComponentModel.DataAnnotations.Schema.Table("User")]
  public class User: UserBase, IPersistCustom&lt;Entity&gt; { ... }
  </code></pre>
  
  <p>Depending on the type of hierarchy mapping you use, EF will generate either a descriptor column or split tables. Is there a way to have EF completely ignore the fact that this class inherits from something or implements an interface?</p>
  
  <p>I don't mean just ignoring base class properties.</p>