Partager via


RuntimeEntityType.IEntityType.FindDeclaredNavigation(String) Méthode

Définition

Obtient une propriété de navigation sur le type d’entité donné. Ne retourne pas les propriétés de navigation définies sur un type de base. Retourne null si aucune propriété de navigation n’est trouvée.

[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.INavigation? IEntityType.FindDeclaredNavigation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.INavigation IEntityType.FindDeclaredNavigation (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.INavigation
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.INavigation
Function FindDeclaredNavigation (name As String) As INavigation Implements IEntityType.FindDeclaredNavigation

Paramètres

name
String

Nom de la propriété de navigation sur la classe d’entité.

Retours

Propriété de navigation, ou null si aucune n’est trouvée.

Implémente

Attributs

S’applique à