ITriggerAddedConvention 介面

定義

表示當觸發程式加入至實體類型時應該執行的作業。

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

備註

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

方法

ProcessTriggerAdded(IConventionTriggerBuilder, IConventionContext<IConventionTriggerBuilder>)

在將觸發程式新增至實體類型之後呼叫。

適用於