用linq语句 实现AB两表的连接 然后在分页显示
以内连接为例,代码摘自LINQ in Action
from publisher in SampleData.Publishersjoin book in SampleData.Books on publisher equals book.Publisherselect new { Publisher = publisher.Name, Book = book.Title };
分页用
sequence.Skip(n * pageSize).Take(pageSize);