IDiscriminatorPropertySetConvention 介面

定義

表示當為實體類型設定鑒別子屬性時,應該執行的作業。

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

備註

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

方法

ProcessDiscriminatorPropertySet(IConventionEntityTypeBuilder, String, IConventionContext<String>)

在設定鑒別子屬性之後呼叫。

適用於