title: Code-First regenerate files and keep same configuration - abstract class and class names to keep the same
body: <p>Whenever I generate my classes using code-first from database <strong>(Add > New Item > ADO.NET Entity Framework > Code First from Database)</strong> approach I need to change the class name all the time:</p>
  
  <pre><code>[Table("tableName")]
  public abstract partial class MyClassReferencingtableName
  </code></pre>
  
  <p>Also I changed the class to be abstract, and would need to change it everytime that classes are regenerated.</p>
  
  <p>Is there a way to define the configuration mappings between the database and the classes once that whenever I use the code-first approach I just click generate and it will use it's configuration ?</p>