共用方式為


IComplexPropertyNullabilityChangedConvention.ProcessComplexPropertyNullabilityChanged 方法

定義

在複雜屬性的可為 Null 性變更之後呼叫。

public void ProcessComplexPropertyNullabilityChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessComplexPropertyNullabilityChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Sub ProcessComplexPropertyNullabilityChanged (propertyBuilder As IConventionComplexPropertyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

參數

propertyBuilder
IConventionComplexPropertyBuilder

屬性的產生器。

context
IConventionContext<Nullable<Boolean>>

與慣例執行相關聯的其他資訊。

適用於