DDD: Trying to code sorting and filtering as it pertains to Poco, Repository, DTO, and DAO using C#?
- by Dr. Zim
I get a list of items from my Repository. Now I need to sort and filter them, which I believe would be done in the Repository for efficiency. I think there would be two ways of doing this in a DDD way:
Send a filter and a sort object full of conditions to the Repository (What is this called)?
Repository result would produce an object with…