日期:2014-05-20 浏览次数:21169 次
public static Books GetBookByID(int id)
{
IQueryable <Books> book = from b in dataContext.Books
where b.Id >= id
orderby b.Id
select b;
return book.First();
}