EdmEntityType.AddBidirectionalNavigation 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 and adds a navigation property to this type and adds its navigation partner to the navigation target type.
public Microsoft.OData.Edm.EdmNavigationProperty AddBidirectionalNavigation (Microsoft.OData.Edm.EdmNavigationPropertyInfo propertyInfo, Microsoft.OData.Edm.EdmNavigationPropertyInfo partnerInfo);
member this.AddBidirectionalNavigation : Microsoft.OData.Edm.EdmNavigationPropertyInfo * Microsoft.OData.Edm.EdmNavigationPropertyInfo -> Microsoft.OData.Edm.EdmNavigationProperty
Public Function AddBidirectionalNavigation (propertyInfo As EdmNavigationPropertyInfo, partnerInfo As EdmNavigationPropertyInfo) As EdmNavigationProperty
Parameters
- propertyInfo
- EdmNavigationPropertyInfo
Information to create the navigation property.
- partnerInfo
- EdmNavigationPropertyInfo
Information to create the partner navigation property.
Returns
Created navigation property.