Partager via


RuntimeEntityType.IReadOnlyEntityType.FindDeclaredProperty(String) Méthode

Définition

Recherche une propriété déclarée sur le type avec le nom donné. Ne retourne pas de propriétés définies sur un type de base.

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

Paramètres

name
String

Nom de la propriété.

Retours

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

Implémente

Attributs

S’applique à