Share via


ODataMetadataSelector.SelectNavigationProperties Method

Definition

Alters the selected navigation properties for which the metadata needs to be written.

public virtual System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmNavigationProperty> SelectNavigationProperties (Microsoft.OData.Edm.IEdmStructuredType type, System.Collections.Generic.IEnumerable<Microsoft.OData.Edm.IEdmNavigationProperty> navigationProperties);
abstract member SelectNavigationProperties : Microsoft.OData.Edm.IEdmStructuredType * seq<Microsoft.OData.Edm.IEdmNavigationProperty> -> seq<Microsoft.OData.Edm.IEdmNavigationProperty>
override this.SelectNavigationProperties : Microsoft.OData.Edm.IEdmStructuredType * seq<Microsoft.OData.Edm.IEdmNavigationProperty> -> seq<Microsoft.OData.Edm.IEdmNavigationProperty>
Public Overridable Function SelectNavigationProperties (type As IEdmStructuredType, navigationProperties As IEnumerable(Of IEdmNavigationProperty)) As IEnumerable(Of IEdmNavigationProperty)

Parameters

type
IEdmStructuredType

Edm type of the resource on which the navigation property exists.

navigationProperties
IEnumerable<IEdmNavigationProperty>

Enumerable of selected navigation properties.

Returns

The list of navigation properties to be written.

Applies to