Share via


ExtensionMethods.EntityReferenceDefinition Method

Gets the entity reference 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 EntityReferenceDefinition ( _
    type As IEdmEntityReferenceTypeReference _
) As IEdmEntityReferenceType
'Usage
Dim type As IEdmEntityReferenceTypeReference 
Dim returnValue As IEdmEntityReferenceType 

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

Parameters

Return Value

Type: Microsoft.Data.Edm.IEdmEntityReferenceType
The definition of an entity reference 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.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

ExtensionMethods Class

Microsoft.Data.Edm Namespace