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] Created: (ODATA-61) Allow complex properties or components of complex properties as parts of a referential constraint


Allow complex properties or components of complex properties as parts of a referential constraint
-------------------------------------------------------------------------------------------------

                 Key: ODATA-61
                 URL: http://tools.oasis-open.org/issues/browse/ODATA-61
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
         Environment: [Proposed]
            Reporter: Ralf Handl


Complex types may be used to semantically structure an entity type, e.g. grouping an Amount and a CurrencyCode into a complex type MonetaryAmount. 

Properties of complex types need to take the role of a dependent in a referential constraint, expressing e.g. that the CurrencyCode of the above complex type must only take values defined by the key property Code of a Currency entity type:

<ReferentialConstraint>
  <Principal Role="Currency">
    <PropertyRef Name="Code" />
  </Principal>
  <Dependent Role="OrderItem">
    <PropertyRef Name="ItemPrice/CurrencyCode" />
  </Dependent>
</ReferentialConstraint>

-- 
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]