IReadOnlyEntityType.FindDeclaredSkipNavigation(String) Method

Definition

Gets a skip navigation property on this entity type.

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

Parameters

name
String

The name of the navigation property on the entity class.

Returns

The navigation property, or null if none is found.

Remarks

Does not return skip navigation properties defined on a base type. Returns null if no skip navigation property is found.

Applies to