IEntityTypeAddedConvention 介面

定義

表示當實體類型加入模型時應該執行的作業。

public interface IEntityTypeAddedConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IEntityTypeAddedConvention = interface
    interface IConvention
Public Interface IEntityTypeAddedConvention
Implements IConvention
衍生
實作

備註

如需詳細資訊和範例,請參閱 模型建置慣例

方法

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

在實體類型新增至模型之後呼叫。

適用於