Megosztás a következőn keresztül:


IElementTypeAnnotationChangedConvention.ProcessElementTypeAnnotationChanged Method

Definition

Called after an annotation is changed on a 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))

Parameters

builder
IConventionElementTypeBuilder

The builder for the property.

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