7

I have a OData endpoint which was created automatically by RIA which seems to work with simple 'get' queries.

E.g.

http://xxx/Service/BusinessApplication1-Web-DomainService1.svc/odata/ProductSet

But when I try to use queries such as 'where' or 'top', e.g:

.../BusinessApplication1-Web-DomainService1.svc/odata/ProductSet?$top=50

results in 'Query options are not allowed.'

I set up a WCF Data Service that has a OData endpoint which works fine and allows queries, so why does the RIA generated one not work?

Thanks!

Riddle
  • 121
  • 3

2 Answers2

5

The OData endpoint exposed by a RIA service doesn't currently support query operators. There's no real workaround for that either (as far as I know).

Vitek Karas MSFT
  • 13,130
  • 1
  • 34
  • 30
0

And other limitations.

user641115
  • 121
  • 2
  • 2