Repository Pattern - POCOs or IQueryable?
问题 I'm new to the Repository Pattern and after doing a lot of reading on the web I have a rough understanding of what is going on, but there seems to be a conflict of ideas. One is what the IRepository should return. I would like to deal in ONLY Pocos so I would have an IRepository implementation for every aggregate root, like so: public class OrangeRepository: IOrangeRepository { public Orange GetOrange(IOrangeCriteria criteria); } where IOrangeCriteria takes a number of arguments specific to