Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use it the way I use WebAPI OData #6

Open
hidegh opened this issue Nov 6, 2017 · 0 comments
Open

Not able to use it the way I use WebAPI OData #6

hidegh opened this issue Nov 6, 2017 · 0 comments

Comments

@hidegh
Copy link

hidegh commented Nov 6, 2017

With some extra settings the classic MVC5 WebAPI OData can be used with any IQueryable and any ApiController (not just against EF entities and ODataController).

image

The same approach does not work with the current solution, due to not being able to get EDM model. But if I do and create custom code (against 1.0.0-rtm-00015), it works -
here's the custom code https://gist.github.com/hidegh/5268a456a170d99e4be6cd0b4692d3c1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant