RelationalDbFunctionAttributeConvention.ProcessModelAnnotationChanged Method

Definition

Called after an annotation is changed on an model.

C#
public virtual void ProcessModelAnnotationChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation annotation, Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation oldAnnotation, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionAnnotation> context);

Parameters

modelBuilder
IConventionModelBuilder

The builder for the model.

name
String

The annotation name.

annotation
IConventionAnnotation

The new annotation.

oldAnnotation
IConventionAnnotation

The old annotation.

context
IConventionContext<IConventionAnnotation>

Additional information associated with convention execution.

Implements

Applies to

Продукт Версии
Entity Framework Core 3.0, 3.1