EdmNavigationProperty.CreateNavigationProperty Method
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.
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.