SqlServerIndexConvention.ProcessIndexUniquenessChanged 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<IConventionIndexBuilder>)
變更索引的唯一性之後呼叫。
public virtual void ProcessIndexUniquenessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder> context);
abstract member ProcessIndexUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder> -> unit
override this.ProcessIndexUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder> -> unit
Public Overridable Sub ProcessIndexUniquenessChanged (indexBuilder As IConventionIndexBuilder, context As IConventionContext(Of IConventionIndexBuilder))
參數
- indexBuilder
- IConventionIndexBuilder
索引的產生器。
與慣例執行相關聯的其他資訊。
實作
適用於
ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<Nullable<Boolean>>)
變更索引的唯一性之後呼叫。
public virtual void ProcessIndexUniquenessChanged (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder indexBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<bool?> context);
abstract member ProcessIndexUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
override this.ProcessIndexUniquenessChanged : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionIndexBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Nullable<bool>> -> unit
Public Overridable Sub ProcessIndexUniquenessChanged (indexBuilder As IConventionIndexBuilder, context As IConventionContext(Of Nullable(Of Boolean)))
參數
- indexBuilder
- IConventionIndexBuilder
索引的產生器。
- context
- IConventionContext<Nullable<Boolean>>
與慣例執行相關聯的其他資訊。