I noticed that I can add the items

.         ADO.NET Entity Data Model

.         ADO.NET Entity Object Generator and

.         ADO.NET Self-Tracking Entity Generator

 

I haven't used the Object Generator, but plenty of the other two.

 

The Entity Data Model is the simplest case where you get an EDMX file and it
generates classes for entities and the context (connection). The entities
are tracked by the context and you should keep the context alive while doing
CRUD on the entities it's tracking. The entities and the context are sort of
"glued together". I find this technique only useful for the most simplistic
scenarios as it hinders attempts to send entities over n-tier and back
again.

 

The Self Tracking creates smart POCO classes that are easier to send over
n-tier and back into a fresh context for updating. A little bit more care is
required, but the STE templates was released or this purpose. In fact,
netTiers generates similar classes by default. Create an EDMX and turn off
code generation, then edit the two tt files and point them to the EDMX file.

 

Cheers,

Greg

Reply via email to