IMutableEntityType.FindNavigation Method

Definition

Overloads

FindNavigation(String)

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

FindNavigation(MemberInfo)

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

FindNavigation(String)

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

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

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

FindNavigation(MemberInfo)

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

public virtual Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation? FindNavigation (System.Reflection.MemberInfo memberInfo);
abstract member FindNavigation : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
override this.FindNavigation : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
Public Overridable Function FindNavigation (memberInfo As MemberInfo) As IMutableNavigation

Parameters

memberInfo
MemberInfo

The navigation property on the entity class.

Returns

The navigation property, or null if none is found.

Applies to