Freigeben über


RelationshipEndMember.GetEntityType-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Greift auf den EntityType des EndMember in einer Zuordnung zu.

Namespace:  System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
Public Function GetEntityType As EntityType
'Usage
Dim instance As RelationshipEndMember 
Dim returnValue As EntityType 

returnValue = instance.GetEntityType()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public EntityType GetEntityType()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
public:
EntityType^ GetEntityType()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
member GetEntityType : unit -> EntityType
public function GetEntityType() : EntityType

Rückgabewert

Typ: System.Data.Entity.Core.Metadata.Edm.EntityType
Der EntityType des EndMember in einer Zuordnung.

Siehe auch

Verweis

RelationshipEndMember Klasse

System.Data.Entity.Core.Metadata.Edm-Namespace