Share via


NavigationPropertyLinkSegment Constructor

Definition

Build a segment to represent $ref on a Nav prop

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

Parameters

navigationProperty
IEdmNavigationProperty

The navigation property this link or ref acts on

navigationSource
IEdmNavigationSource

The navigation source of entities linked to by this NavigationPropertyLinkSegment. This can be null.

Exceptions

Throws if the input navigationProperty is null.

Applies to