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

ActionImport and FunctionImport on EntityType

    XMLWordPrintable

    Details

      Description

      We allow calling bound actions/functions with qualified name, or with unqualified (short) name if the namespace defining the function is marked as the default namespace. In the latter case we need precedence rules if action/function names collide with property names.

      This can be avoided if an entity type can actively declare which actions/functions it allows by "importing" the (still global) action/function into the type, similar to what we currently do in the entity container.

      This has several benefits:

      • explicitly declare support for bound actions/functions
      • provide clash-free short name for bound action/function
      • harmonize entity container and entity type

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: