ExtensionMethods.EntityDefinition Method
Gets the entity type to which the type refers.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function EntityDefinition ( _
type As IEdmEntityTypeReference _
) As IEdmEntityType
'Usage
Dim type As IEdmEntityTypeReference
Dim returnValue As IEdmEntityType
returnValue = type.EntityDefinition()
public static IEdmEntityType EntityDefinition(
this IEdmEntityTypeReference type
)
[ExtensionAttribute]
public:
static IEdmEntityType^ EntityDefinition(
IEdmEntityTypeReference^ type
)
static member EntityDefinition :
type:IEdmEntityTypeReference -> IEdmEntityType
public static function EntityDefinition(
type : IEdmEntityTypeReference
) : IEdmEntityType
Parameters
- type
Type: Microsoft.Data.Edm.IEdmEntityTypeReference
The reference to an entity type.
Return Value
Type: Microsoft.Data.Edm.IEdmEntityType
The definition of an entity type.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmEntityTypeReference. 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.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).