Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Ruft das primäre Ende eines Paars als Partner festgelegter Navigationseigenschaften ab, wählt dabei das Prinzipalende aus, wenn eines vorhanden ist, und trifft andernfalls eine stabile, willkürliche Auswahl.
Namespace: Microsoft.Data.Edm.Csdl
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetPrimary ( _
property As IEdmNavigationProperty _
) As IEdmNavigationProperty
'Usage
Dim property As IEdmNavigationProperty
Dim returnValue As IEdmNavigationProperty
returnValue = property.GetPrimary()
public static IEdmNavigationProperty GetPrimary(
this IEdmNavigationProperty property
)
[ExtensionAttribute]
public:
static IEdmNavigationProperty^ GetPrimary(
IEdmNavigationProperty^ property
)
static member GetPrimary :
property:IEdmNavigationProperty -> IEdmNavigationProperty
public static function GetPrimary(
property : IEdmNavigationProperty
) : IEdmNavigationProperty
Parameter
- property
Typ: Microsoft.Data.Edm.IEdmNavigationProperty
Die Navigationseigenschaft.
Rückgabewert
Typ: Microsoft.Data.Edm.IEdmNavigationProperty
Das primäre Ende zwischen der Navigationseigenschaft und deren Partner.
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).