SqlServerIndexConvention.ProcessPropertyNullabilityChanged 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)
在屬性的可為 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
屬性的產生器。
與慣例執行相關聯的其他資訊。
實作
適用於
ProcessPropertyNullabilityChanged(IConventionPropertyBuilder, IConventionContext<Nullable<Boolean>>)
在屬性的可為 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>>
與慣例執行相關聯的其他資訊。