I have a strange scenerio. RIA services is working for all of my entities except for one.
With this one entity, if the URL passed to the svc is standard, it works. If it has a take parameter, it does not work.
Example URLS
http://mysite/ClientBin/Myclass.svc/binar/GetEntity1 //(works)
http://mysite/ClientBin/Myclass.svc/binar/GetEntity1?$take=20 //(does not work)
It is only this single entity that I have this problem with. None of the others have this problem.
Any ideas?
EDIT: I fixed it by disabling my query scrubber and using a cached list of entites. I use a scrubbing class to tidy up the queries so LINQ to nHibernate can handle the queries, but I only do that for a few types. Still, it works fine for the other entities, but not this one.