Partager via


SqlServerValueGenerationConvention.ProcessEntityTypeAnnotationChanged Méthode

Définition

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

public override void ProcessEntityTypeAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation? oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);
override this.ProcessEntityTypeAnnotationChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> -> unit
Public Overrides Sub ProcessEntityTypeAnnotationChanged (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, annotation As IConventionAnnotation, oldAnnotation As IConventionAnnotation, context As IConventionContext(Of IConventionAnnotation))

Paramètres

entityTypeBuilder
IConventionEntityTypeBuilder

Générateur pour le type d’entité.

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 à