Share via


ExtensionMethods.NavigationProperties Method (IEdmEntityType)

Gets the navigation properties with the specified type.

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

Syntax

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

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

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IEdmNavigationProperty>
The navigation properties.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEdmEntityType. 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.113) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.113).

See Also

Reference

ExtensionMethods Class

NavigationProperties Overload

Microsoft.Data.Edm Namespace