ExtensionMethods.EntityType 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.
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
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.