Refactor ORM 3: The PageQuery Object and DataAccess Interface
This article explores refactoring dynamic query interfaces by encapsulating pagination and sorting logic into a reusable superclass PageQuery to generate the dynamic components of the SQL statements.