I'm very new to LINQ and I am not sure how to use it properly yet.
I have connection to MYSQL and I have over 3k rows in a table and at the moment I use LIMIT in SQL syntax to go through the data page by page and I would like to avoid that due to many SQL queries being sent through the connection. This is my currect Work-In-Progress LINQ code:
var test = from Item in ItemList
orderby Item.Id ascending
select Item;
Now, with my SQL syntax I had LIMIT 0 , 200 to get first 200 rows, and on page 2 that code would be LIMIT 200 , 200. I know I can limit linq with .Take(x) but I want to "take" 200 records where x is starting index. Sorry about the bad explanation, as I said, I'm new to LINQ.
Thank you! :)