Capabilities: add new term SelectSupport

    • Hide

      Term definition:

      <Term Name="SelectSupport" Type="Capabilities.SelectSupportType" Nullable="false" AppliesTo="EntityContainer EntitySet Singleton">
        <Annotation Term="Core.Description" String="Support for $select and nested query options within $select" />
      </Term>
      <ComplexType Name="SelectSupportType">
        <Property Name="Supported" Type="Edm.Boolean" Nullable="false" DefaultValue="true">
          <Annotation Term="Core.Description" String="Supports $select" />
        </Property>
        <Property Name="Expandable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$expand within $select is supported" />
        </Property>
        <Property Name="Filterable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$filter within $select is supported" />
        </Property>
        <Property Name="Searchable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$search within $select is supported" />
        </Property>
        <Property Name="TopSupported" Type="Core.Tag" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$top within $select is supported" />
        </Property>
        <Property Name="SkipSupported" Type="Core.Tag" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$skip within $select is supported" />
        </Property>
        <Property Name="ComputeSupported" Type="Core.Tag" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$compute within $select is supported" />
        </Property>
        <Property Name="Countable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$count within $select is supported" />
        </Property>
        <Property Name="Sortable" Type="Edm.Boolean" Nullable="false" DefaultValue="false">
          <Annotation Term="Core.Description" String="$orderby within $select is supported" />
        </Property>
      </ComplexType>
      

       

      Also add corresponding property SelectSupport to CollectionPropertyRestrictionsType and NavigationPropertyRestrictionsType.

      Show
      Term definition: <Term Name= "SelectSupport" Type= "Capabilities.SelectSupportType" Nullable= "false" AppliesTo= "EntityContainer EntitySet Singleton" > <Annotation Term= "Core.Description" String= "Support for $select and nested query options within $select" /> </Term> <ComplexType Name= "SelectSupportType" > <Property Name= "Supported" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "true" > <Annotation Term= "Core.Description" String= "Supports $select" /> </Property> <Property Name= "Expandable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$expand within $select is supported" /> </Property> <Property Name= "Filterable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$filter within $select is supported" /> </Property> <Property Name= "Searchable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$search within $select is supported" /> </Property> <Property Name= "TopSupported" Type= "Core.Tag" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$top within $select is supported" /> </Property> <Property Name= "SkipSupported" Type= "Core.Tag" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$skip within $select is supported" /> </Property> <Property Name= "ComputeSupported" Type= "Core.Tag" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$compute within $select is supported" /> </Property> <Property Name= "Countable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$count within $select is supported" /> </Property> <Property Name= "Sortable" Type= "Edm.Boolean" Nullable= "false" DefaultValue= "false" > <Annotation Term= "Core.Description" String= "$orderby within $select is supported" /> </Property> </ComplexType>   Also add corresponding property SelectSupport to  CollectionPropertyRestrictionsType and  NavigationPropertyRestrictionsType .
    • Show
      https://github.com/oasis-tcs/odata-vocabularies/pull/14

      Similar to other xxxRestrictions add a SelectRestrictions structured term with (for now) a single property Selectable of type Boolean:

      Example:

      <Annotation Term="Capabilities.SelectRestrictions">
        <Record>
          <PropertyValue Property="Selectable" Bool="false" />
        </Record>
       </Annotation>

            Assignee:
            Unassigned
            Reporter:
            handl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: