开发者

Workaround/s to expose derived types' properties using OData

We want to expose the properties of our derived types with OData and we are using Entity Framework. But we always have the exception that we cannot access the navigation properties of those derived types. We can't do it with service operations as well. Now, we are thinking if w开发者_JS百科e can customize the response just to show the properties of our derived entities particularly the navigation properties. What are the possible workarounds?


you can cast the base type collection entries to the derived type in odatav3 with this format

<root>/<base collection name>/<full namespace of derived type>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜