ConventionAnnotatable.IConventionAnnotatable.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é, en retournant null si elle n’existe pas.
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation IConventionAnnotatable.FindAnnotation(string name);
[System.Diagnostics.DebuggerStepThrough]
Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? IConventionAnnotatable.FindAnnotation(string name);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
override this.Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotatable.FindAnnotation : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation
Function FindAnnotation (name As String) As IConventionAnnotation Implements IConventionAnnotatable.FindAnnotation
Paramètres
- name
- String
Nom de l'annotation à rechercher.
Retours
Annotation existante si une annotation portant le nom spécifié existe déjà. Sinon, null.
Implémente
- Attributs