ConventionAnnotatable.FindAnnotation(String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient l’annotation avec le nom donné, retournée null si elle n’existe pas.
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation FindAnnotation(string name);
public virtual Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation? FindAnnotation(string name);
override this.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.ConventionAnnotation
Public Overridable Function FindAnnotation (name As String) As ConventionAnnotation
Paramètres
- name
- String
Clé de l’annotation à rechercher.
Retours
Annotation existante si une annotation portant le nom spécifié existe déjà. Sinon, null.