c# - Chaining a compiled query's invocation -


suppose have compiled query hits db , select.

    func<mycontext, int, iqueryable<myresult>> myquery =  compiledquery.compile<mycontext, int, iqueryable<employee>>((context, empid) =>       (ctx.employees.where(e => e.id == empid));  

and

myquery.invoke(ctx, parama).orderby(x => x.somecolumn).take(10).tolist(); 

will orderby done in-memory (i.e query context contains myquery) or invoke chain 'myquery' orderby , tolist() order , take done in db. believe latter. right?


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -