ExtensionMethods.EntityType Method

Gets the entity type.

Namespace:  Microsoft.Data.Edm
Assembly:  Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function EntityType ( _
    type As IEdmEntityReferenceTypeReference _
) As IEdmEntityType
'Usage
Dim type As IEdmEntityReferenceTypeReference 
Dim returnValue As IEdmEntityType 

returnValue = type.EntityType()
public static IEdmEntityType EntityType(
    this IEdmEntityReferenceTypeReference type
)
[ExtensionAttribute]
public:
static IEdmEntityType^ EntityType(
    IEdmEntityReferenceTypeReference^ type
)
static member EntityType : 
        type:IEdmEntityReferenceTypeReference -> IEdmEntityType
public static function EntityType(
    type : IEdmEntityReferenceTypeReference
) : IEdmEntityType

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmEntityType
The entity type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmEntityReferenceTypeReference. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace