Retrieving top 50 rows from Table using LINQ

Posted by James on Stack Overflow See other posts from Stack Overflow or by James
Published on 2010-05-05T01:12:14Z Indexed on 2010/05/05 1:18 UTC
Read the original article Hit count: 256

Filed under:

Hey,

Am new to LINQ, and am trying to retrieve the top 50 rows of a particular table.

In SQL Server using an actual query i coudl say "Select TOP 50 from Transactions" , but not sure how i need to do that with LinQ

Any pointers that could help ?

Thanks !

© Stack Overflow or respective owner

Related posts about linq-to-sql