ExtensionMethods.FindNavigationProperty Method

Definition

Finds a navigation property declared in the definition of this reference by name.

C#
public static Microsoft.OData.Edm.IEdmNavigationProperty FindNavigationProperty (this Microsoft.OData.Edm.IEdmStructuredTypeReference type, string name);

Parameters

type
IEdmStructuredTypeReference

Reference to the calling object.

name
String

Name of the navigation property to find.

Returns

The requested navigation property if it exists. Otherwise, null.

Applies to

Product Versions
OData EDM 7.0