語言

ITriggerAddedConvention 介面

定義

代表當在實體類型中加入觸發器時,應該執行的操作。

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

備註

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

方法

名稱 Description
ProcessTriggerAdded(IConventionTriggerBuilder, IConventionContext<IConventionTriggerBuilder>)

在實體類型中加入觸發器後呼叫。

適用於