IDiscriminatorPropertySetConvention 接口

定义

表示为实体类型设置鉴别器属性时应执行的操作。

public interface IDiscriminatorPropertySetConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention
type IDiscriminatorPropertySetConvention = interface
    interface IConvention
Public Interface IDiscriminatorPropertySetConvention
Implements IConvention
派生
实现

注解

有关详细信息和示例,请参阅 模型生成约定

方法

ProcessDiscriminatorPropertySet(IConventionEntityTypeBuilder, String, IConventionContext<String>)

在设置鉴别器属性后调用。

适用于