We have IQueryable, so why bother with a repository
Posted by: Pablo M. Cibraro (aka Cibrax),
on 05 May 2011 |
View original | Bookmarked: 0 time(s)
The repository pattern became popular a couple of years ago by the hand of Eric Evans with the DDD (Domain Driven Design) movement and Martin Fowler with his catalog of Enterprise Application Patterns. The idea of having persistence ignorant entities inferred from the business domain and a repository as a simple intermediary for abstracting the underline persistence storage details had a great acceptance in the development community. No matter if you decided to stick to DDD or not, the repository...