Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

Linq selezionando l'intervallo di record

Che ne dici di:

var q = (
from Comments in db.tblBlogComments 
where Comments.blogID == this.ID 
orderby Comments.date descending 
select new { Comments.userID, Comments.comment, Comments.date }).Skip(10).Take(10);