我正在尝试使用此 URL 在 OData 中进行一些自定义排序
localhost:82/odata.svc/ComponentPresentations?$filter=TemplateId eq 2894 and publicationId eq 10&$expand=Component/Keywords?$orderby=Title desc
where Component
is a property ofComponentPresentation
和Keywords
is property of Component
,我想根据关键字的Title
属性对 ComponentPresentation 进行排序。但是关键字和标题是组件表示的属性
有没有办法根据 Keword 的 title 属性对结果进行排序?哪个是Component的子代,哪个是ComponentPresentation的子代?