I have a database with tables that contain underscore in their name. I want to have them removed from the classes that are generated when I create a model. I was able to achieve it by customizing the t4 templates but the names should also be modified in the edmx file. Is there any way to customize the edmx generation?
Share
You can not (at least not an easy way) customize the process used to generate entities and names when using EDM generator. You can modify the tables’ names via the wizard or, if feel with luck, add a MEF extension that post-processes the model but you must have to modify the model’s XML