Paged, Multi-Poco queries with Petapoco?
问题 PetaPoco is great and covers paged queries and Multi-Poco mapping, but I'm trying to figure out if there's a way to do them together? Edit: Here's the repository method I use to get MultiPoco data: // variables, used in multiple repo methods private readonly string _selectClause = String.Format(@"SELECT * FROM Clients OUTER APPLY (SELECT TOP 1* From Events WHERE Events.EndDateTime >= '{0}' AND Events.ClientId = Clients.Id ) Events WHERE Clients.TenantId=@0", DateTime.UtcNow); private readonly