1

In MySQL you can limit a query row result with LIMIT 10,20

How is this possible with the Take(10) function in C#?

I have a 700000+ database table where I want to limit 10 rows each and walk through the database table.

Gustav
  • 61
  • 2

1 Answers1

2

Use the Skip method

query.Skip(10).Take(10)
Albin Sunnanbo
  • 46,430
  • 8
  • 69
  • 108