ForeignKeyPropertyDiscoveryConvention.ProcessPropertyNullabilityChanged 方法

定义

重载

ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

在属性的可为 null 性更改后调用。

ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<Nullable<Boolean>>)

在属性的可为 null 性更改后调用。

ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs

在属性的可为 null 性更改后调用。

public virtual void ProcessPropertyNullabilityChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> context);
abstract member ProcessPropertyNullabilityChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> -> unit
override this.ProcessPropertyNullabilityChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> -> unit
Public Overridable Sub ProcessPropertyNullabilityChanged (propertyBuilder As IConventionPropertyBuilder, context As IConventionContext(Of IConventionPropertyBuilder))

参数

propertyBuilder
IConventionPropertyBuilder

属性的生成器。

context
IConventionContext<IConventionPropertyBuilder>

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

实现

适用于

ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<Nullable<Boolean>>)

Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs
Source:
ForeignKeyPropertyDiscoveryConvention.cs

在属性的可为 null 性更改后调用。

public virtual void ProcessPropertyNullabilityChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessPropertyNullabilityChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
override this.ProcessPropertyNullabilityChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Overridable Sub ProcessPropertyNullabilityChanged (propertyBuilder As IConventionPropertyBuilder, context As IConventionContext(Of Nullable(Of Boolean)))

参数

propertyBuilder
IConventionPropertyBuilder

属性的生成器。

context
IConventionContext<Nullable<Boolean>>

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

实现

适用于