I am new to T4 Toolbox, and I want to generate code programmatically in my application.
I have some XML files stored in database, and for each file I want to generate a code file.
How do I programatically pass those records to template files to to generate output. I will have multiple template files, and each XML file may or may not call a template.
I have seen some samples, but haven't seen any that calls template files externally (e.g. a console or winform app).
Any pointers will be helpful.
Thanks in advance