IElementTypeNullabilityChangedConvention 接口

定义

表示在集合属性元素的可为空性发生更改时应执行的操作。

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

注解

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

方法

ProcessElementTypeNullabilityChanged(IConventionElementTypeBuilder, IConventionContext<Nullable<Boolean>>)

更改 的可为空性 IConventionElementType 后调用。

适用于