Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-1570

Support of Alternate Keys from OData Version 4.01

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • odata4-server
    • None

    Description

      OData Version 4.01 defines Alternate Keys, which is a useful feature and should be implemented by OLingo.

      4.3.5 Alternate Keys

      In addition to the canonical (primary) key an entity set or entity type can specify one or more alternate keys with the Core.AlternateKeys term (see [OData-VocCore]). Entities can be addressed via an alternate key using the same parentheses-style convention as for the canonical key, with one difference: single-part alternate keys MUST specify the key property name to unambiguously determine the alternate key.

      Example 24: the same employee identified via the alternate key SSN, the canonical (primary) key ID using the non-canonical long form with specified key property name, and the canonical short form without key property name

      http://host/service/Employees(SSN='123-45-6789')

      http://host/service/Employees(ID='A1245')

      http://host/service/Employees('A1245')

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Boris.Fierlings Boris Fierlings

            Dates

              Created:
              Updated:

              Slack

                Issue deployment