NavigationPropertySegment Constructor
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.
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.