[ 
https://issues.apache.org/jira/browse/OLINGO-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878389#comment-13878389
 ] 

Ralf Handl commented on OLINGO-132:
-----------------------------------

OData 4.0 changes this syntax and allows nesting $select and other query 
options within $expand:

https://.../ReferenceScenario.svc/Rooms('1')?$select=Name&$expand=nr_Building($select=Image)

This avoids repeating the expand path for every selected property on expanded 
entities, and also allows filtering the expanded properties.

> 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)

Reply via email to