IEntityTypeAnnotationChangedConvention 接口

定义

表示在实体类型上更改批注时应执行的操作。

public interface IEntityTypeAnnotationChangedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IEntityTypeAnnotationChangedConvention = interface
    interface IConvention
Public Interface IEntityTypeAnnotationChangedConvention
Implements IConvention
派生
实现

注解

有关详细信息和示例,请参阅 模型生成约定

方法

ProcessEntityTypeAnnotationChanged(IConventionEntityTypeBuilder, String, IConventionAnnotation, IConventionAnnotation, IConventionContext<IConventionAnnotation>)

在对实体类型更改批注后调用。

适用于