共用方式為


ForeignKeyPropertyDiscoveryConvention.ProcessPropertyNullabilityChanged 方法

定義

多載

ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

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

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

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

ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)

來源:
ForeignKeyPropertyDiscoveryConvention.cs
來源:
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>>)

來源:
ForeignKeyPropertyDiscoveryConvention.cs
來源:
ForeignKeyPropertyDiscoveryConvention.cs
來源:
ForeignKeyPropertyDiscoveryConvention.cs
來源:
ForeignKeyPropertyDiscoveryConvention.cs
來源:
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>>

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

實作

適用於