語言

IModelFinalizedConvention 介面

定義

代表一種應在模型定案後執行且無法再變異的操作。

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

備註

更多資訊與範例請參閱 模型建構慣例 。

方法

名稱 Description
ProcessModelFinalized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

模型最終定案後才會被通知。

ProcessModelFinalized(IModel)

在模型確定且無法再變異後被召喚。

適用於