← Prev in month ← Prev in thread

[OASIS Issue Tracker] (ODATA-966) 13.4 Add example for navigation property bindings for containment navigation property

From
OASIS Issues Tracker <>
Date
2016-11-03T20:40:18+00:00
ID
Thread
[OASIS Issue Tracker] (ODATA-966) 13.4 Add example for navigation property bindings for containment navigation property
[ https://issues.oasis-open.org/browse/ODATA-966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=63987#comment-63987 ] 

Michael Pizzo commented on ODATA-966:
-------------------------------------

Perhaps a more common example, where Orders contained OrderDetails:

<EntitySet Name="Orders" Type="Sales.Order">
   <NavigationPropertyBinding Path="OrderDetails/Product" Target="Products"/>
</EntitySet>



> 13.4 Add example for navigation property bindings for containment navigation property
> -------------------------------------------------------------------------------------
>
>                 Key: ODATA-966
>                 URL: https://issues.oasis-open.org/browse/ODATA-966
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.0_ERRATA03
>         Environment: Proposal needed for CSD01
>            Reporter: Ralf Handl
>            Assignee: Michael Pizzo
>             Fix For: V4.01_WD01, V4.0_ERRATA04
>
>
> Add example along the following lines:
> - Bar has NavigationProperty Baz of type Foo with ContainsTarget=True 
> - Foo has NavigationProperty Gux of type Ser with ContainsTarget=False
> <EntitySet Name=“Bars“ EntityType=“_this.Bar“>
>   <NavigationPropertyBinding Path=”Baz/Gux” Target=”Sers”
> </EntitySet>
> <EntitySet Name=”Sers” EntityType=”_this.Ser” />



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)
← Prev in month ← Prev in thread