Partager via


RuntimeEntityType.IReadOnlyEntityType.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.IReadOnlyNavigation? IReadOnlyEntityType.FindDeclaredNavigation (string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation IReadOnlyEntityType.FindDeclaredNavigation (string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindDeclaredNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType.FindDeclaredNavigation : string -> Microsoft.EntityFrameworkCore.Metadata.IReadOnlyNavigation
Function FindDeclaredNavigation (name As String) As IReadOnlyNavigation Implements IReadOnlyEntityType.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 à