IEntityTypeAddedConvention 接口

定义

表示在将实体类型添加到模型时应执行的操作。

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

注解

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

方法

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

在实体类型添加到模型后调用。

适用于