문제

I would like to use EFf 4 as my ORM in my DDD project. I am going to generate my model based on my classes. Should I create classes that are basically dto objects for my business objects to consumer or should I implement the actuall BO classes in my EF model?

도움이 되었습니까?

해결책

I think that the EF model should be the business objects, otherwise you will just have another layer of abstraction that you will have to write plumbing code for.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top