OData / ODataSamples

Samples: For ODataLib, OData Web API, RESTier, etc.
http://odata.github.io/
Other
293 stars 222 forks source link

Using OData without exposing IQueryable #103

Closed bugproof closed 5 years ago

bugproof commented 5 years ago

I don't access the database directly in ODataController (controller doesn't depend on DbContext) instead I'm doing it somewhere else. Will [EnableQuery] work in this case? Does OData support scenarios like this?