相关疑难解决方法(0)

如何根据OData中孩子的某些属性订购对象?

我正在尝试使用此URL在OData中进行一些自定义排序

localhost:82/odata.svc/ComponentPresentations?$filter=TemplateId eq 2894 and publicationId eq 10&$expand=Component/Keywords?$orderby=Title desc
Run Code Online (Sandbox Code Playgroud)

哪里Component是的属性ComponentPresentationKeywords是的财产Component,我想根据关键字的ComponentPresentation排序Title属性.但是关键字和标题是组件演示的属性

有没有办法根据Keword标题的属性对结果进行排序?哪个是组件的子项,它是ComponentPresentation的子项?

odata

12
推荐指数
2
解决办法
7132
查看次数

标签 统计

odata ×1