阅读背景:

使用LINQ to Entities获取前N个记录

来源:互联网 

I am using Linq to entities and would like to know if I can get a limited number of records when i query. I just need the top N records as the query do the orderby and other clauses. Is this possible or I will have to get the top N using foreach loop?I am using Linq to entities and would like to k




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: