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
Post a Comment