Partager via


RuntimeEntityType.IReadOnlyEntityType.FindProperty(String) Méthode

Définition

Obtient la propriété portant un nom donné. Retourne null si aucune propriété portant le nom donné n’est définie.

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

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 à