Iterator can be applicable here.
Kaushal Patel, May 07, 2011
I'm using the Pattern in Action 4.0 solution and using Entity Framework. I am questioning the way the app implements sorting using dynamic strings. If your entity object field has a different name to the business object field e.g EmployerEntity.LastName Employer.Surname. The app uses Mapper.CS in Data Layer to convert correctly entity.LastName to Surname. But if you sort on UI using "Surname ASC" it will fail; it will work if UI uses "LastName ASC" , so the UI needs an understanding of the Entity/db.
Jan 14, 2011