Play with T4

One of the most important new thing with EF4 (EF v2) is POCO entities (no dependency with EF).


Having independent classes is good but code generation also is. Indeed, if we want to change entities we don’t have to do the work twice (one for edmx and one for the entity class).


So what would be very cool is to be able to generate POCO entities. To realize this, T4 template is very cool. You can download here the tt file I made from the default one.

This entry was posted in 10511, 7671, 7674, 7675. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>