Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-467

Clarify relationship between EntitySet in Function/ActionImport and EntitySetPath in Function/Action definition

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS01
    • Fix Version/s: V4.0_CS01
    • Component/s: CSDL XML
    • Labels:
      None
    • Environment:

      [Proposed]

    • Proposal:
      Hide

      EntitySetPath, if specified, is the default path for the Function/ActionImport. EntitySet, if specified in the function/action import, overrides whatever entitysetpath may have been specified in the function/action definition.

      Show
      EntitySetPath, if specified, is the default path for the Function/ActionImport. EntitySet, if specified in the function/action import, overrides whatever entitysetpath may have been specified in the function/action definition.
    • Resolution:
      Hide

      Only bound functions can have an entitysetpath, and only unbound functions can be imported into an entitycontainer, and only imported functions can have entities, so this is not an issue.

      Accepted: https://www.oasis-open.org/committees/download.php/50296/odata-meeting-49_on-20130815-minutes.html#odata-467

      Show
      Only bound functions can have an entitysetpath, and only unbound functions can be imported into an entitycontainer, and only imported functions can have entities, so this is not an issue. Accepted: https://www.oasis-open.org/committees/download.php/50296/odata-meeting-49_on-20130815-minutes.html#odata-467

      Description

      Functions may optionally contain an EntitySetPath attribute, that specifies the entity set that returned entities belong to relative to the entity set of the binding parameter.
      FunctionImports may optionally specify an EntitySet which is a specific entityset that returned entities belong to.

      We are not explicit on how EntitySetPath is used for FunctionImports. It could be ignored, it could be the default if EntitySet is not specified, or it could be illegal to specify EntitySet if EntitySetPath is specified.

      Same is true for Actions.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: