Share via


ExtensionMethods.EntityType Method

Definition

Overloads

EntityType(IEdmEntityReferenceTypeReference)

Gets the entity type referred to by the definition of this entity reference type reference.

EntityType(IEdmNavigationSource)

Return the entity type of the navigation source.

EntityType(IEdmEntityReferenceTypeReference)

Gets the entity type referred to by the definition of this entity reference type reference.

public static Microsoft.OData.Edm.IEdmEntityType EntityType (this Microsoft.OData.Edm.IEdmEntityReferenceTypeReference type);
static member EntityType : Microsoft.OData.Edm.IEdmEntityReferenceTypeReference -> Microsoft.OData.Edm.IEdmEntityType
<Extension()>
Public Function EntityType (type As IEdmEntityReferenceTypeReference) As IEdmEntityType

Parameters

type
IEdmEntityReferenceTypeReference

Reference to the calling object.

Returns

The entity type referred to by the definition of this entity reference type reference.

Applies to

EntityType(IEdmNavigationSource)

Return the entity type of the navigation source.

public static Microsoft.OData.Edm.IEdmEntityType EntityType (this Microsoft.OData.Edm.IEdmNavigationSource navigationSource);
static member EntityType : Microsoft.OData.Edm.IEdmNavigationSource -> Microsoft.OData.Edm.IEdmEntityType
<Extension()>
Public Function EntityType (navigationSource As IEdmNavigationSource) As IEdmEntityType

Parameters

navigationSource
IEdmNavigationSource

The navigation source.

Returns

The entity type of the navigation source.

Applies to