Entity Frameworks 4 - Changing the model does not update the T4 self tracking template files
Posted
by Darren
on Stack Overflow
See other posts from Stack Overflow
or by Darren
Published on 2010-04-29T02:01:54Z
Indexed on
2010/04/29
2:07 UTC
Read the original article
Hit count: 597
I am using self tracking entities and have moved the entity classes to another assembly by using 'Add as link' to point to the TT file as mentioned here. Now though, when I update the model (for instance change a property name) the template is not automatically run and so the entity class does not get updated.
I can of course manually run the template to get the updates, but it would be easier if it ran automatically in the way it did before I moved the classes. Is there any way to achieve this?
Darren.
© Stack Overflow or respective owner