Share via


RuntimeEntityType.FindNavigation(String) Method

Definition

Gets a navigation property on the given entity type. Returns null if no navigation property is found.

public virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeNavigation? FindNavigation (string name);
abstract member FindNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeNavigation
override this.FindNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.RuntimeNavigation
Public Overridable Function FindNavigation (name As String) As RuntimeNavigation

Parameters

name
String

The name of the navigation property on the entity class.

Returns

The navigation property, or null if none is found.

Applies to