I can't wrap my brain around this, I don't get why this behaves likes this. I have made an OData query that returns a collection of 175 items
from c in navClient.Item where c.No != "" && c.Last_Date_Modified > dtfrom select c
navClient.Item is a System.Data.Services.Client.DataServiceQuery
However I want to take first 100 items from the collection using .Take(100) but get 0 items. It isn't until I do .Take(121) I get my first item, which is the first item in the collection, .Take(122) returns the first two items and so on.
Any idea why this behaves like this?
Edit: Doing ToList first then Take(100) returns first 100 as expected. My only theory right know is that the table I'm running my query against is just a temp table that is out of sync with the database.