SelectExpandNode Class

Definition

Describes the set of structural properties and navigation properties and actions to select and navigation properties to expand while writing an ODataResource in the response.

public class SelectExpandNode
type SelectExpandNode = class
Public Class SelectExpandNode
Inheritance
SelectExpandNode

Constructors

SelectExpandNode()

Creates a new instance of the SelectExpandNode class.

SelectExpandNode(IEdmStructuredType, ODataSerializerContext)

Creates a new instance of the SelectExpandNode class describing the set of structural properties, nested properties, navigation properties, and actions to select and expand for the given writeContext.

SelectExpandNode(SelectExpandClause, IEdmStructuredType, IEdmModel)

Creates a new instance of the SelectExpandNode class describing the set of structural properties, nested properties, navigation properties, and actions to select and expand for the given selectExpandClause.

SelectExpandNode(SelectExpandNode)

Creates a new instance of the SelectExpandNode class by copying the state of another instance. This is intended for scenarios that wish to modify state without updating the values cached within ODataResourceSerializer.

Properties

ExpandedProperties

Gets the list of EDM navigation properties to be expanded in the response along with the nested query options embedded in the expand. It could be null if no navigation property to expand.

ReferencedNavigationProperties
Obsolete.

Gets the list of EDM navigation properties to be expand referenced in the response. keeping this is only for non-breaking changes, This should be replaced by "ReferencedProperties" later.

ReferencedProperties

Gets the list of EDM navigation properties to be referenced in the response along with the nested query options embedded in the expand. It could be null if no navigation property to reference.

SelectAllDynamicProperties

Gets the flag to indicate the dynamic property to be included in the response or not.

SelectedActions

Gets the list of OData actions to be included in the response. It could be null.

SelectedComplexProperties
Obsolete.

Gets the list of EDM nested properties (complex or collection of complex) to be included in the response. keeping this is only for non-breaking changes, This should be replaced by "SelectedComplexes".

SelectedComplexTypeProperties

Gets the list of Edm structural properties (complex or complex collection) to be included in the response. The key is the Edm structural property. The value is the potential sub select item.

SelectedDynamicProperties

s Gets the list of dynamic properties to select. It could be null.

SelectedFunctions

Gets the list of OData functions to be included in the response. It could be null.

SelectedNavigationProperties

Gets the list of EDM navigation properties to be included as links in the response. It could be null.

SelectedStructuralProperties

Gets the list of EDM structural properties (primitive, enum or collection of them) to be included in the response. It could be null if there's no property selected.

Methods

GetStructuralProperties(IEdmStructuredType, HashSet<IEdmStructuralProperty>, HashSet<IEdmStructuralProperty>)
Obsolete.

Separate the structural properties into two parts:

  1. Complex and collection of complex are nested structural properties.
  2. Others are non-nested structural properties.

Applies to