共用方式為


IPropertyElementTypeChangedConvention 介面

定義

表示變更屬性時 IElementType 應該執行的作業。

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

備註

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

方法

ProcessPropertyElementTypeChanged(IConventionPropertyBuilder, IElementType, IElementType, IConventionContext<IElementType>)

在屬性的專案類型變更之後呼叫。

適用於