OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [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:comment-tabpanel&focusedCommentId=62745#comment-62745 ] 

Ralf Handl commented on ODATA-935:
----------------------------------

I'd leave this to the service. Some services may disallow it, others may just remove the singleton from the entity set and keep it alive as a pure singleton.

Or we can choose not to allow this as a workaround exists: use an intermediary entity as the singleton that has a to-1 navigation property to a member of an 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)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]