IElementTypeNullabilityChangedConvention 介面

定義

表示當集合屬性元素的可為 Null 性變更時,應該執行的作業。

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

備註

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

方法

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

在 變更 的 IConventionElementType Null 屬性之後呼叫。

適用於