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] Updated: (ODATA-518) Use NavProp@<annotation-name> to reference annotations applied to a NavProp


     [ http://tools.oasis-open.org/issues/browse/ODATA-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Zurmuehl updated ODATA-518:
----------------------------------

    Environment: [Applied]  (was: [Proposed][CS02])

> Use NavProp@<annotation-name> to reference annotations applied to a NavProp
> ---------------------------------------------------------------------------
>
>                 Key: ODATA-518
>                 URL: http://tools.oasis-open.org/issues/browse/ODATA-518
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Improvement
>          Components: OData CSDL
>    Affects Versions: V4.1_WD01
>         Environment: [Applied]
>            Reporter: Martin Zurmuehl
>            Assignee: Martin Zurmuehl
>             Fix For: V4.0_CSD03
>
>
> Currently we are not able to reference an annotation applied to a navigation property.
> In the following example the expression <Path>Supplier/@Core.Description#Bar</Path> references the annotation of the entitytype supplier. The annotation at the navigation property "Supplier" is not referencable. As of today the expression <Path>Supplier@Core.Description#Foo</Path> is not valid.
> 			<EntityType Name="SalesOrderItem">
> 				<Key>
> 					<PropertyRef Name="soi_ID" />
> 				</Key>
> 				<Property Type="Edm.String" Name="soi_ID" />
> 				<NavigationProperty Name="Supplier" Type="X.Supplier">
> 					<Annotation Term="Core.Description" Qualifier="Foo" String="Item is supplied by" />
> 				</NavigationProperty>
> 			</EntityType>
> 			<EntityType Name="Supplier">
> 				<Annotation Term="Core.Description" Qualifier="Bar"  Path="ID" />
> 				<Key>
> 					<PropertyRef Name="ID" />
> 				</Key>
> 				<Property Type="Edm.String" Name="ID" />
> 			</EntityType>
> 			<Annotations Target="X.SalesOrderItem">
> 				<Annotation Term="Core.LongDescription" Qualifier="First">
> 					<Path>Supplier/@Core.Description#Bar</Path>
> 				</Annotation>
> 				<Annotation Term="Core.LongDescription" Qualifier="Second">
> 					<Path>Supplier@Core.Description#Foo</Path>
> 				</Annotation>
> 			</Annotations>
> See also Ralf's comment at https://tools.oasis-open.org/issues/browse/ODATA-320

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tools.oasis-open.org/issues/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


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