ODataMetadataSelector.SelectNavigationProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.