This project has moved and is read-only. For the latest updates, please go here.

Problems changing classnames, in .tt files?

Jun 16, 2014 at 9:12 PM
We're doing a database-first project, and we've been doing our unit tests using effort. We'd decided we didn't like the generated class names, and modified the .tt file to change them. (e.g., changing "class operator" to "class OperatorRec".)

It worked fine, and everything compiles fine. But Effort chokes, claiming that there isn't an object of type "OperatorRec" in the dbcontext. Given that this is the Effort dbcontext, I was wondering if Effort is hardcoded, someplace, to the auto-generated names, instead of using the names of the generated classes.
Jun 18, 2014 at 7:15 PM
Thank you for reporting this issue!

May I ask you to provide a concrete example (possibly proof of concept project)?