[EDITED: I left the original question below, with some more context and code to reproduce the problem. The short version below contains the essence of the question]
Shor
hi this can be made to work quite easy...
Instead of an IQueryable
Dim orders As IQueryable(Of Order) = db.Orders
use a List
Dim orders as List(of Order) = db.Orders.ToList()