← Prev in month ← Prev in thread

[OASIS Issue Tracker] (ODATA-700) Allow Annotations to target propertypath/navpropertypath rooted at entity set

From
OASIS Issues Tracker <>
Date
2014-06-12T05:00:20+00:00
ID
JIRA.24001.1402549191213.137.1402549213521@customer-jira
Thread
[OASIS Issue Tracker] (ODATA-700) Allow Annotations to target propertypath/navpropertypath rooted at entity set
Michael Pizzo created ODATA-700:
-----------------------------------

             Summary: Allow Annotations to target propertypath/navpropertypath rooted at entity set
                 Key: ODATA-700
                 URL: https://tools.oasis-open.org/issues/browse/ODATA-700
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Sub-task
          Components: OData CSDL
    Affects Versions: V4.0_OS
         Environment: [Proposed]
            Reporter: Michael Pizzo
            Priority: Minor
             Fix For: V4.0_ERRATA01


See related issue.

In some cases, it is desirable for an annotation to target the property or navigation property of an entity within a particular entity set.

So:
<Annotations Target="myschema.myentitytype/mynavproperty"/>

would target the "mynavproperty" element of myentitytype, while

<Annotations Target="myschema.mycontainer/myentityset/mynavproperty"/>

would target the "mynavproperty" element of an entity returned from the myentityset entity set, and

<Annotations Target="myschema.mycontainer/myentityset/myschema.myderivedType/mynavproperty"/>

would target the "mynavproperty" element of an entity of type "myschema.myderivedType" returned from the "myentityset" entity set.



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