Open VisualMicro opened 4 years ago
We have integrated the DynamicEdmModelCreation into an Asp/Mvc web application which works very well thank you.
Q: One small question is why the meta link is missing the data source?
For example:-
Request [web_app]/odata/MyDataSource/products
[web_app]/odata/MyDataSource/products
Response {"@odata.context":"[web_app]/odata/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}
{"@odata.context":"[web_app]/odata/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}
Reponse should be:- {"@odata.context":"[web_app]/odata/MyDataSource/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}
{"@odata.context":"[web_app]/odata/MyDataSource/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}
`
We have integrated the DynamicEdmModelCreation into an Asp/Mvc web application which works very well thank you.
Q: One small question is why the meta link is missing the data source?
For example:-
Request
[web_app]/odata/MyDataSource/products
Response
{"@odata.context":"[web_app]/odata/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}
Reponse should be:-
{"@odata.context":"[web_app]/odata/MyDataSource/$metadata#Products","value":[{"Name":"abc","ID":1},{"Name":"def","ID":2}]}
`