To create the first database, the creation EDMXcreates the DbContext and poco model template files T4 (.tt).
I can successfully configure the file Model.ttto generate POCO classes with the names and object names of the Pascal class, as well as the names of the poco class files in the case of Pascal, which are suitable for beter with encoding standards for the rest of my code.
The problem I am trying to solve is that I have to edit the files Model.ttfor each EDMXone when I create it, instead I try to check if there is a way to configure the tt file generator and add code modifications so that pascalcasing rules are automatically executed when they are created EDMX.
I am not sure if this is possible. Please suggest.
source
share