Hello, I have a LINQ query:

VB Code:
  1. Dim Db = New MyDataContext
  2. Dim Qry = From cust in Db.Customers
  3.           Select cust.ID, cust.Name
And I want to pass it to a function to filter it, like this:

VB Code:
  1. FilterAnyQuery(Qry, cust.ID) ' WHERE "cust.ID" CAN BE ANY FIELD

The Sub should be of this kind:
VB Code:
  1. Sub FilterAnyQuery(ByVal AnyQry As iQueryable, AnyField as ???)
  2.   AnyQry = AnyQry.Where(AnyField = "somevalue")
  3. End Sub

How can I pass "AnyField" to the Sub and make the LINQ "Where" clause work?
Is there any workaround?
Thank you.