Partager via


RuntimeModelConvention.ProcessModelAnnotations Méthode

Définition

Mises à jour les annotations de modèle qui seront définies sur l’objet en lecture seule.

protected virtual void ProcessModelAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Metadata.RuntimeModel runtimeModel, bool runtime);
abstract member ProcessModelAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * bool -> unit
override this.ProcessModelAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Metadata.RuntimeModel * bool -> unit
Protected Overridable Sub ProcessModelAnnotations (annotations As Dictionary(Of String, Object), model As IModel, runtimeModel As RuntimeModel, runtime As Boolean)

Paramètres

annotations
Dictionary<String,Object>

Annotations à traiter.

model
IModel

Modèle source.

runtimeModel
RuntimeModel

Modèle cible qui contiendra les annotations.

runtime
Boolean

Indique si les annotations données sont des annotations d’exécution.

S’applique à