Hi, as always thanks in advance for the support.
I have an issue with paging and joins... Latest libs (3.1) downloaded today. (linq 3.1.11.0518 etc)
As an example..
var lm = new LinqMetaData();
var q = from t1 in lm.Table1
join t2 in lm.Table2 on t1.ID equals t2.ID
orderby t2.Sort descending
select t1;
foreach (var i in q.TakePage(2,10))
Response.Write(i.ID);
This, and i've tried it as many ways as I could, will not properly return paged data. The db shows a non-paged request. What am I doing wrong?
Btw - I've had a number of problems with paging for a couple of years now, one thing that would be nice is if llblgen could throw errors -- or at least give us the option of a strict mode.. it just seems to 'ignore' paging in certain situations. I remember the same type of thing last year, hours wandering around a query wondering why it sometimes decides to just request an entire table of x million rows etc. It's v. scary