[
https://issues.apache.org/jira/browse/OLINGO-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878528#comment-13878528
]
Anurag Pandey commented on OLINGO-132:
--------------------------------------
I am able to get selective properties but if i want to get some property of A
and all property of dependent entity B I get error.
Ex-
https://.../ReferenceScenario.svc/Rooms('1')?$select=Name,nr_Building&$expand=nr_Building
Response:
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code/>
<message xml:lang="en"/>
</error>
> How to get selected properties from entity A and dependent entity B.
> --------------------------------------------------------------------
>
> Key: OLINGO-132
> URL: https://issues.apache.org/jira/browse/OLINGO-132
> Project: Olingo
> Issue Type: Question
> Reporter: dhaval gupta
>
> Suppose we have entity A and some entity B is included in entity A. i.e. one
> to one or one to many relationship , how can we have the end result wherein
> we can have some properties of entity A and some attributes of entity B .
> Using expand we get all the properties of entity A and all the properties of
> entities B. If I do select some attributes of entity A , I only get the
> selected attributes of entity A and do not get entity B.
> Thanks,
> Dhaval
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)