I'm running this code:
LinqMetaData m = new LinqMetaData();
IQueryable<InvoicesEntity> q = m.Invoices;
IEnumerable<InvoicesEntity> en = q.Take(10);
IEnumerator e = en.GetEnumerator();
And I would expect it to be translated into a query like:
select top 10 * from Invoices
But the actual query executed is:
select * from Invoices
Is there something wrong in my code or is this a known issue?
I'm using LLBLGen Pro v 2.6 Final, SQL 2008, VS 2008 & .NET 3.5 SP1