Table of Contents

Class SelectExpandNode

Namespace
System.Web.Http.OData.Formatter.Serialization
Assembly
System.Web.Http.OData.dll

Describes the set of structural properties and navigation properties and actions to select and navigation properties to expand while writing an Microsoft.Data.OData.ODataEntry in the response.

public class SelectExpandNode
Inheritance
SelectExpandNode
Inherited Members

Constructors

SelectExpandNode()

Creates a new instance of the SelectExpandNode class.

public SelectExpandNode()

SelectExpandNode(SelectExpandClause, IEdmEntityType, IEdmModel)

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

public SelectExpandNode(SelectExpandClause selectExpandClause, IEdmEntityType entityType, IEdmModel model)

Parameters

selectExpandClause SelectExpandClause

The parsed $select and $expand query options.

entityType IEdmEntityType

The entity type of the entry that would be written.

model IEdmModel

The Microsoft.Data.Edm.IEdmModel that contains the given entity type.

Properties

ExpandedNavigationProperties

Gets the list of EDM navigation properties to be expanded in the response.

public IDictionary<IEdmNavigationProperty, SelectExpandClause> ExpandedNavigationProperties { get; }

Property Value

IDictionary<IEdmNavigationProperty, SelectExpandClause>

SelectedActions

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

public ISet<IEdmFunctionImport> SelectedActions { get; }

Property Value

ISet<IEdmFunctionImport>

SelectedNavigationProperties

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

public ISet<IEdmNavigationProperty> SelectedNavigationProperties { get; }

Property Value

ISet<IEdmNavigationProperty>

SelectedStructuralProperties

Gets the list of EDM structural properties to be included in the response.

public ISet<IEdmStructuralProperty> SelectedStructuralProperties { get; }

Property Value

ISet<IEdmStructuralProperty>