c# - Latest forums posts by date -


i have lambda statement:

tpgforumpost.select(v => v).orderbydescending(d => d.datecreated) 

i need figure out how limit 5 of latest posts.

to last 5 posts:

tpgforumpost.select(v => v).orderbydescending(d => d.datecreated).take(5); 

the second part requires more info, , maybe should separate question since it's unrelated.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -