Hmmm... this is odd.

Posts   
 
    
Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 01-Apr-2005 19:41:19   

I made of copy of entityAdapter.template and changed its name to entityAdapterMODIFIED.template. I made some minor modifications to the new template. I deleted the reference to the old template in the TaskPerformer and I replaced it with a reference to the new one. I created a custom TemplateSet that is identical to the C# SQL one except that it binds the new template instead of the old one.

I save everything and generate from TemplateStudio. Oops! No changes to the output code. It's as if I ran it using entityAdapter.template. Where are my minor modifications? I run the exact same TaskPerformer and TemplateSet from within LLGLPro and * bingo * there are my modifications!

How is this possible?

Jeff

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39788
Joined: 17-Aug-2003
# Posted on: 01-Apr-2005 22:07:24   

You have to change the binding in the template set, not teh templateid in the task performer definition. This way you can generate different code with different template sets. Or is that what you did? (so I can try to reproduce it, could you try to describe the exact steps?)

Frans Bouma | Lead developer LLBLGen Pro