T4 Templates?

Oct 22, 2008 at 3:30 AM
What would be involved to have the code generated by T4 templates to allow for easier end user customization instead of having it hard-coded?

Great project, by the way.
Apr 6, 2009 at 12:19 PM
To be honest, we haven't consider using T4 templates when ULinqGen was been developed, they are a very good choice, actually they say Entity Framework is going to support T4 templates in v2.

Without having analyzed this further, the only drawback I can see of T4 templates, against the current ULinqGen implementation, which uses CodeDOM, is that CodeDOM is language independent.
Using T4 templates will force you to write a T4 template for every language you choose to support, and on future changes in the language syntax you may need to update the templates.
However T4 templates are a lot much easier to write and specially to read, than CodeDOM code.