Share via


EdmNavigationProperty.CreateNavigationProperty Method

Definition

Creates a navigation property from the given information.

public static Microsoft.OData.Edm.EdmNavigationProperty CreateNavigationProperty (Microsoft.OData.Edm.IEdmStructuredType declaringType, Microsoft.OData.Edm.EdmNavigationPropertyInfo propertyInfo);
static member CreateNavigationProperty : Microsoft.OData.Edm.IEdmStructuredType * Microsoft.OData.Edm.EdmNavigationPropertyInfo -> Microsoft.OData.Edm.EdmNavigationProperty
Public Shared Function CreateNavigationProperty (declaringType As IEdmStructuredType, propertyInfo As EdmNavigationPropertyInfo) As EdmNavigationProperty

Parameters

declaringType
IEdmStructuredType

The type that declares this property.

propertyInfo
EdmNavigationPropertyInfo

Information to create the navigation property.

Returns

Created navigation property.

Applies to