Freigeben über


ExtensionMethods.DeclaredNavigationProperties-Methode (IEdmEntityType)

Ruft die deklarierten Navigationseigenschaft mit dem angegebenen Typ ab.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function DeclaredNavigationProperties ( _
    type As IEdmEntityType _
) As IEnumerable(Of IEdmNavigationProperty)
'Usage
Dim type As IEdmEntityType
Dim returnValue As IEnumerable(Of IEdmNavigationProperty)

returnValue = type.DeclaredNavigationProperties()
public static IEnumerable<IEdmNavigationProperty> DeclaredNavigationProperties(
    this IEdmEntityType type
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmNavigationProperty^>^ DeclaredNavigationProperties(
    IEdmEntityType^ type
)
static member DeclaredNavigationProperties : 
        type:IEdmEntityType -> IEnumerable<IEdmNavigationProperty> 
public static function DeclaredNavigationProperties(
    type : IEdmEntityType
) : IEnumerable<IEdmNavigationProperty>

Parameter

Rückgabewert

Typ: System.Collections.Generic.IEnumerable<IEdmNavigationProperty>
Eine Auflistung von deklarierten Navigationseigenschaften.

Hinweis zur Verwendung

In Visual Basic und C# können Sie die Methode als Instanzenmethode für jedes Objekt vom Typ IEdmEntityType 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

DeclaredNavigationProperties-Überladung

Microsoft.Data.Edm-Namespace