The complex type 'MyData.AssetReading' refers to the entity type 'MyData.Asset' through the property 'Asset'

余生颓废 提交于 2019-12-04 22:01:05

This error message is caused by the fact that the current version of Web API for OData V4 doesn't support defining navigation properties on a complex type in the model. I.e. complex type can't refer to entity type(s) yet.

This work is tracked by this GitHub issue: https://github.com/OData/WebApi/issues/65. Weigh in by commenting it if you'd like it to be prioritized.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!