ExtensionMethods.DeclaredNavigationProperties Method (IEdmEntityTypeReference)
Gets the declared navigation properties.
Namespace: Microsoft.Data.Edm
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function DeclaredNavigationProperties ( _
type As IEdmEntityTypeReference _
) As IEnumerable(Of IEdmNavigationProperty)
'Usage
Dim type As IEdmEntityTypeReference
Dim returnValue As IEnumerable(Of IEdmNavigationProperty)
returnValue = type.DeclaredNavigationProperties()
public static IEnumerable<IEdmNavigationProperty> DeclaredNavigationProperties(
this IEdmEntityTypeReference type
)
[ExtensionAttribute]
public:
static IEnumerable<IEdmNavigationProperty^>^ DeclaredNavigationProperties(
IEdmEntityTypeReference^ type
)
static member DeclaredNavigationProperties :
type:IEdmEntityTypeReference -> IEnumerable<IEdmNavigationProperty>
public static function DeclaredNavigationProperties(
type : IEdmEntityTypeReference
) : IEnumerable<IEdmNavigationProperty>
Parameters
- type
Type: Microsoft.Data.Edm.IEdmEntityTypeReference
The reference of an entity type.
Return Value
Type: System.Collections.Generic.IEnumerable<IEdmNavigationProperty>
A collection of declared navigation properties.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmEntityTypeReference. 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).