IComplexPropertyNullabilityChangedConvention.ProcessComplexPropertyNullabilityChanged 方法

定义

更改复杂属性的可为空性后调用。

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>>

与约定执行关联的其他信息。

适用于