1

Possible Duplicate:
LINQ to SQL Every Nth Row From Table

This doens't work in Linq2Sql:

context.Enquirys.Where((e, index) => (index % g) == gs);

Is there any other way to implement this?

Community
  • 1
  • 1
Niels Bosma
  • 11,758
  • 29
  • 89
  • 148
  • it's even quite hard to do this using sql so I guess no ORM framework will support this natively as query operator – Tim Mahy Nov 18 '10 at 16:04
  • Closing as duplicate, but I have a [fresh answer](http://stackoverflow.com/questions/4208366/linq-to-sql-every-nth-row-from-table/4216935#4216935) I intend adding to the [linked post](http://stackoverflow.com/questions/4208366/linq-to-sql-every-nth-row-from-table) – Marc Gravell Nov 18 '10 at 16:07

0 Answers0