RelationalRuntimeModelConvention.ProcessForeignKeyAnnotations 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.
Mises à jour les annotations de clé étrangère qui seront définies sur l’objet en lecture seule.
protected override void ProcessForeignKeyAnnotations(System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey runtimeForeignKey, bool runtime);
override this.ProcessForeignKeyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey * bool -> unit
Protected Overrides Sub ProcessForeignKeyAnnotations (annotations As Dictionary(Of String, Object), foreignKey As IForeignKey, runtimeForeignKey As RuntimeForeignKey, runtime As Boolean)
Paramètres
- annotations
- Dictionary<String,Object>
Annotations à traiter.
- foreignKey
- IForeignKey
Clé étrangère source.
- runtimeForeignKey
- RuntimeForeignKey
Clé étrangère cible qui contiendra les annotations.
- runtime
- Boolean
Indique si les annotations données sont des annotations d’exécution.