Share via


NavigationPropertySegment Constructor

Definition

Build a segment representing a navigation property.

public NavigationPropertySegment (Microsoft.OData.Edm.IEdmNavigationProperty navigationProperty, Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
new Microsoft.OData.UriParser.NavigationPropertySegment : Microsoft.OData.Edm.IEdmNavigationProperty * Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.OData.UriParser.NavigationPropertySegment
Public Sub New (navigationProperty As IEdmNavigationProperty, navigationSource As IEdmNavigationSource)

Parameters

navigationProperty
IEdmNavigationProperty

The navigation property this segment represents.

navigationSource
IEdmNavigationSource

The navigation source of the entities targeted by this navigation property. This can be null.

Exceptions

Throws if the input navigationProperty is null.

Applies to