語言

IPropertyAddedConvention 介面

定義

代表當屬性加入實體類型時,應該執行的操作。

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

備註

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

方法

名稱 Description
ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

在物件類型中加入屬性後呼叫。

適用於