Partager via


RuntimeEntityType.IReadOnlyEntityType.FindServiceProperty(String) Méthode

Définition

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

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

Paramètres

name
String

Nom de la propriété de service.

Retours

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

Implémente

Attributs

S’applique à