Partager via


IElementTypeAnnotationChangedConvention.ProcessElementTypeAnnotationChanged Méthode

Définition

Appelé après la modification d’une annotation sur un IConventionElementType.

public void ProcessElementTypeAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionElementTypeBuilder builder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
abstract member ProcessElementTypeAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionElementTypeBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Sub ProcessElementTypeAnnotationChanged (builder As IConventionElementTypeBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Paramètres

builder
IConventionElementTypeBuilder

Générateur de la propriété .

name
String

Nom de l’annotation.

annotation
IConventionAnnotation

Nouvelle annotation.

oldAnnotation
IConventionAnnotation

Ancienne annotation.

context
IConventionContext<IConventionAnnotation>

Informations supplémentaires associées à l’exécution de la convention.

S’applique à