ODATA - how to generate odata service from Edmx file -


there odata lib can use edmx file generate odata service? providing edmx file create service can answer metadata calls...

i've found library

https://github.com/htammen/n-odata-server

but requires json not edmx/metadata.xml file...

i see olingo lib didn't find functionality can ...

https://olingo.apache.org

any direction if possible?

i prefer use nodejs lib if there combination work, not mandatory

i've find lib https://github.com/jaystack/jaysvcutil

if happy use .net, try restier. follow instructions here: http://odata.github.io/restier/, except don't generate new ef data model class. instead add edmx model project.

then go section 'configure odata endpoint', , rather entering:

        await config.maprestierroute<entityframeworkapi<adventureworkslt>>(             "adventureworkslt",             "api/adventureworkslt",             new restierbatchhandler(globalconfiguration.defaultserver)); 

use data model class (the class inherits dbcontext) rather adventureworkslt in entityframeworkapi<adventureworkslt> , , change route name , prefix more suitable.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -