n-odata-server icon indicating copy to clipboard operation
n-odata-server copied to clipboard

Provode edmx/ metadata and get running service

Open JenneyJ opened this issue 7 years ago • 3 comments

HI,

Does your repo is supporting the scenario which I provide edmx/ metadata XML and it will generate service which can answer the calls according to the edm structure ?

Thanks, Jenney

JenneyJ avatar Aug 17 '17 08:08 JenneyJ

Hi Jenney,

The package generates the metadata and service according with your models in defined in Loopback. The application will have two basic end-points: the REST api generated from Loopback and the OData API generated by the package (that basic have the same collections from REST API).

Regards

renanwilliam avatar Aug 17 '17 10:08 renanwilliam

Thanks!

Just to verify, I must to provide models no edmx or metadata ...is it correct ?

JenneyJ avatar Aug 17 '17 11:08 JenneyJ

Hello,

Yes, you need to define your models in Loopback. Here you can check a example app: https://github.com/htammen/n-odata-server-example

renanwilliam avatar Aug 17 '17 11:08 renanwilliam