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!
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With