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

Allow BaseType of EntityType to be a ComplexType

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: New
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: V4.01_CS01
    • Fix Version/s: V4.02
    • Component/s: CSDL JSON, CSDL XML
    • Labels:
      None
    • Proposal:
      Hide

      In CSDL 6.1

      change:

      An entity type can inherit from another entity type by specifying it as its base type.
      An entity type inherits the key as well as structural and navigation properties of its base type.

      To: 

      An entity type can inherit from another complex type or entity type by specifying it as its base type.
      If the base type is a complex type, the derived entity type must define a key that consists of one or more references to structural properties..  If the base type is an entity type, the derived entity type inherits the key as well as structural and navigation properties of its base type.

       

      Show
      In CSDL 6.1 change: An entity type can inherit from another entity type by specifying it as its base type. An entity type inherits the key as well as structural and navigation properties of its base type. To:  An entity type can inherit from another complex type or entity type by specifying it as its base type. If the base type is a complex type, the derived entity type must define a key that consists of one or more references to structural properties..  If the base type is an entity type, the derived entity type inherits the key as well as structural and navigation properties of its base type.  

      Description

      Support common XML construction that defines a ComplexType, and then an Element (EntityType) based on that ComplexType.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              george.ericson George Ericson
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: