How do I generate Entity Framework 4.0 classes from the command line that have different names than
- by Josh Kodroff
I want to generate Entity Framework 4.0 classes from a (legacy) database from a command line, but I have 2 transformations I want:
Tables/columns are lowerCamelCase and I want my classes/members to be UpperCamelCase.
I want to suffix my classes with "Dto".
Any idea how this might be accomplished? I'm a total newbie to EF, but I have a decent understanding of Linq to Sql and was able to accomplish the same task by doing: sqlmetal - dbml - xml mapping file and .cs file.