EdmEntityType.SetNavigationPropertyPartner 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.
Sets partner information of a top-level navigation property.
public void SetNavigationPropertyPartner (Microsoft.OData.Edm.EdmNavigationProperty navigationProperty, Microsoft.OData.Edm.IEdmPathExpression navigationPropertyPath, Microsoft.OData.Edm.EdmNavigationProperty partnerNavigationProperty, Microsoft.OData.Edm.IEdmPathExpression partnerNavigationPropertyPath);
member this.SetNavigationPropertyPartner : Microsoft.OData.Edm.EdmNavigationProperty * Microsoft.OData.Edm.IEdmPathExpression * Microsoft.OData.Edm.EdmNavigationProperty * Microsoft.OData.Edm.IEdmPathExpression -> unit
Public Sub SetNavigationPropertyPartner (navigationProperty As EdmNavigationProperty, navigationPropertyPath As IEdmPathExpression, partnerNavigationProperty As EdmNavigationProperty, partnerNavigationPropertyPath As IEdmPathExpression)
Parameters
- navigationProperty
- EdmNavigationProperty
Navigation property of the entity type.
- navigationPropertyPath
- IEdmPathExpression
Path to the navigation property of the entity type.
- partnerNavigationProperty
- EdmNavigationProperty
Partner navigation property.
- partnerNavigationPropertyPath
- IEdmPathExpression
Path to the partner navigation property from the related entity type.
Remarks
If partnerNavigationProperty is declared on an entity type, its partner will be set accordingly; there is no need to call this method twice, once on each side.