c# - Add a Linq clause to a Iqueryable object -


i have method iqueryable object linq query on object, want add linq clause : .skip(20) how can method ?

thanks advance

you can't "add" clause existing query, because queries immutable - can create new query existing 1 clause:

iqueryable<foo> newquery = oldquery.skip(20); 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -