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

How to specify static result entity set for bound actions/functions?

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: No Action
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.01_CS02
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None
    • Proposal:
      Hide

      No action.

      We intentionally constructed bound functions/actions this way to make the function/action definition independent of the schema that defines the binding target.

      Also we intentionally don't have references from Schema children to an Entity Container.

      Model designers are encouraged to add navigation paths that allow them specifying an EntitySetPath.

      Show
      No action. We intentionally constructed bound functions/actions this way to make the function/action definition independent of the schema that defines the binding target. Also we intentionally don't have references from Schema children to an Entity Container. Model designers are encouraged to add navigation paths that allow them specifying an EntitySetPath.

      Description

      Bound actions/functions that return a single entity or a collection of entities can specify the entity set of the returned entities relative to the binding parameter via the EntitySetPath attribute.

      How to specify that the returned entities always belong to a statically known entity set that cannot be reached via navigation from the binding parameter type?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: