Share via


SqlServerValueGenerationConvention.ProcessEntityTypeAnnotationChanged Method

Definition

Called after an annotation is changed on an entity.

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))

Parameters

entityTypeBuilder
IConventionEntityTypeBuilder

The builder for the entity type.

name
String

The annotation name.

annotation
IConventionAnnotation

The new annotation.

oldAnnotation
IConventionAnnotation

The old annotation.

context
IConventionContext<IConventionAnnotation>

Additional information associated with convention execution.

Applies to