Share via


NavigationPropertySegment Class

Definition

A segment representing a navigation property

public sealed class NavigationPropertySegment : Microsoft.OData.UriParser.ODataPathSegment
type NavigationPropertySegment = class
    inherit ODataPathSegment
Public NotInheritable Class NavigationPropertySegment
Inherits ODataPathSegment
Inheritance
NavigationPropertySegment

Constructors

NavigationPropertySegment(IEdmNavigationProperty, IEdmNavigationSource)

Build a segment representing a navigation property.

Properties

EdmType

Gets the IEdmType of this NavigationPropertySegment.

Identifier

Returns the identifier for this segment i.e. string part without the keys.

(Inherited from ODataPathSegment)
NavigationProperty

Gets the navigation property represented by this NavigationPropertySegment.

NavigationSource

Gets the navigation source of the entities targeted by this Navigation Property. This can be null.

Methods

HandleWith(PathSegmentHandler)

Translate a PathSegmentHandler to walk a tree of ODataPathSegments.

TranslateWith<T>(PathSegmentTranslator<T>)

Translate a PathSegmentTranslator<T>.

Applies to