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

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

      [Proposed]

    • 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.
    • 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

      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.

            Assignee:
            Unassigned
            Reporter:
            Michael Pizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: