views:

91

answers:

0

Note: I have installed the 3.5 update to make my data services run like 4.

I have an ADO (WCF) Data Service up and running. I need to execute a query where it uses the "Any<>" function, which returns a bool value. I am not sure what the type of the query should be so that the bool value can be returned. For collection returns, I have been casting to "DataServiceQuery", but that does not work for the bool response.

??? q = (ServiceContext.TableEntities.Any(a => a.name == "special")) as ???;

Any help would be appreciated.

related questions