[OASIS Issue Tracker] (ODATA-935) Allow singletons to be members of an entity set

From
OASIS Issues Tracker <>
Date
2016-07-07T16:40:52+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-935) Allow singletons to be members of an entity set
[ https://issues.oasis-open.org/browse/ODATA-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-935:
--------------------------------

    Proposal: 
Allow singletons to be members of entity sets.

Consistent with how we define NavigtaionPropertyBindings on EntitySets, and Singletons today, we could extend the NavigationPropertyBinding within a singleton to support Path="." (or Path=empty string) to say that the binding is being applied to the singleton itself.

Any incompatible NavigationPropertyBinding should not be returned for 4.0 clients.

  was:
Allow singletons to be members of entity sets.

Mark them via a NavigationPropertyBinding on the container level with Path=<name of singleton> and Target=<name of entity set>.


> Allow singletons to be members of an entity set
> -----------------------------------------------
>
>                 Key: ODATA-935
>                 URL: https://issues.oasis-open.org/browse/ODATA-935
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_ERRATA02
>         Environment: Proposed
>            Reporter: Ralf Handl
>             Fix For: V4.01_WD01
>
>
> Sometimes candidates for singletons are also members of entity sets, e.g. "Me" will also be in "People", "Contoso" will also be in "Companies".



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)