Share via


ExtensionMethods.DeclaringEntityType(IEdmNavigationProperty) Method

Definition

Gets the entity type declaring this navigation property.

public static Microsoft.OData.Edm.IEdmEntityType DeclaringEntityType (this Microsoft.OData.Edm.IEdmNavigationProperty property);
static member DeclaringEntityType : Microsoft.OData.Edm.IEdmNavigationProperty -> Microsoft.OData.Edm.IEdmEntityType
<Extension()>
Public Function DeclaringEntityType (property As IEdmNavigationProperty) As IEdmEntityType

Parameters

property
IEdmNavigationProperty

Reference to the calling object.

Returns

The entity type that declares this navigation property.

Applies to