Freigeben über


ExtensionMethods.ToEntityType-Methode

Ruft den Entitätstyp ab, auf den diese Navigationseigenschaft abzielt.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ToEntityType ( _
    property As IEdmNavigationProperty _
) As IEdmEntityType
'Usage
Dim property As IEdmNavigationProperty
Dim returnValue As IEdmEntityType

returnValue = property.ToEntityType()
public static IEdmEntityType ToEntityType(
    this IEdmNavigationProperty property
)
[ExtensionAttribute]
public:
static IEdmEntityType^ ToEntityType(
    IEdmNavigationProperty^ property
)
static member ToEntityType : 
        property:IEdmNavigationProperty -> IEdmEntityType 
public static function ToEntityType(
    property : IEdmNavigationProperty
) : IEdmEntityType

Parameter

Rückgabewert

Typ: Microsoft.Data.Edm.IEdmEntityType
Der Entitätstyp, auf den diese Navigationseigenschaft abzielt.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmNavigationProperty aufrufen. Wenn Sie Instanzmethodensyntax zum Aufruf dieser Methode verwenden, vernachlässigen Sie den ersten Parameter. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.103) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.103).

Siehe auch

Verweis

ExtensionMethods Klasse

Microsoft.Data.Edm-Namespace