When I execute a query in Dapper and only want to retrieve a block of records, can I use .Skip().Take(), or do I need use select top n * in the SQL?
eg Given a table with 10,000 records and I only want the first 200 because my list page only shows 200 per page. Do I run this?
conn.Query<Widget>("select * from Widgets").Skip((page - 1) * size).Take(size);
Or this:
conn.Query<Widget>("select top 200 * from Widgets");
Is Dapper's .Query<T>
method deferred or not?