Apply XSLT do DBML before class generation?

Mar 8, 2010 at 4:02 PM

I apply a xslt to my DBML for changing Enum types, changing names of some columns and fixing up the inheritance stuff in my db etc. . Currently i apply this xslt to the dbml file in a .bat file right after generating the dbml file using sqlmetal. What about implementing an optional XSLT transforming in L2ST4 right before the dbml is parsed? Otherwise i can fork it myself.. 

Mar 8, 2010 at 9:13 PM

or maybe just an extension point in which you can hook in your own .tt file, chaining your modifications to dbml and the resulting .cs file?  

Mar 9, 2010 at 5:21 PM

The XSLT transform would seem to be a very specific step to your own workflow but I'd certainly entertain the idea of adding a some hooks to jump in on the process.


Apr 9, 2010 at 8:57 PM

Any movement on the XSLT?