EntityFramework generated classes?

Nope... This doesn't answer the specific detailed question I have. – sagesky36 Nov 5 '11 at 23:10.

You can modify the T4 template to include the attributes when it generates the classes. You might also consider using Data Transfer Objects and annotating them instead of your entities. I am currently working on a project using EF 4.1 (db first) and WCF, and I use AutoMapper to map between my DTOs and entities.My service api takes and returns DTOs, which are then mapped in the repository to entities.

This allows me to shape the data exposed by the service when I don't want it to look exactly as it is stored in the database. For more discussion on the pros and cons of using DTOs, see this MSDN article.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions