title: Rename Entity Framework T4 Template Generated Class Names?
body: <p>I have a database with a very large number of tables which unfortunately have been named with no standard convention whatsoever:</p>
  
  <ul>
  <li>TableName</li>
  <li>anotherTableName</li>
  <li>YETANOTHERTABLENAME</li>
  <li>Garbage_Table</li>
  </ul>
  
  <p>I am using Entity Framework with the standard T4 Code Generation template to create the POCO classes in C#</p>
  
  <p>Is there a best practice I can follow which lets me incorporate my own convention to name these tables in the C# app without having to touch anything in SQL? The auto-generated classes look like:</p>
  
  <ul>
  <li>TableNames.cs</li>
  <li>anotherTableNames.cs</li>
  <li>YETANOTHERTABLENAMEs.cs</li>
  <li>Garbage_Tables.cs</li>
  </ul>
  
  <p>I would like to have some sort of a wrapper:</p>
  
  <ul>
  <li>CleanTableName => TableName</li>
  <li>CleanAnotherTableName => anotherTableName</li>
  <li>CleanYetAnotherTableName => YETANOTHERTABLENAME</li>
  <li>CleanGarbageTable => Garbage_Table</li>
  </ul>
  
  <p>One approach would be to just create wrapper classes?.. Any ideas?</p>