Repository pattern and mapping between domain models and Entity Framework
My repositories deal with and provide persistence for a rich domain model. I do not want to expose the anemic, Entity Framework data entity to my business layers, so I need some way of mapping between them. If you you use Entity Framework, it can map Rich Domain Model itself. I’ve answered the similar question … Read more