I am trying Dapper ORM and I am querying a a Posts table.
But I would like to get paged results …
1 – How can I do this? Isn’t there a helper for this?
2 – Can Dapper Query return an IQueryable?
Thank You,
Miguel
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
1) Dapper doesn’t have a built-in pagination feature. But its not too hard to implement it directly in the query. Example:
Requires SQL Server 2005+
2) Dapper returns an
IEnumerable<T>.