I am thinking of using OData for my web service (based on the Web API). Unfortunately, my data source is NOT IQueryable. Instead of implementing my own IQueryable, I pretty much followed this blog post .
What I do not understand is how to get to my object data model (EDM)? Should I model EDM, for example, in Designer? Or is it just for EF, and instead I can use "simple" classes and set relationship attributes? I do not want to disclose my internal data structures, so my EDM is more like a DTO ...
As an example, I saw what I should get from EntitySetController to get an OData compatible HTTP response. I believe that I cannot use EntitySetController as I do not support IQueryable. What should I do to get the right answer?
source
share