SqlServerIndexConvention.ProcessIndexUniquenessChanged 方法

定义

重载

ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<IConventionIndexBuilder>)

更改索引的唯一性后调用。

ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<Nullable<Boolean>>)

更改索引的唯一性后调用。

ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<IConventionIndexBuilder>)

Source:
SqlServerIndexConvention.cs
Source:
SqlServerIndexConvention.cs

更改索引的唯一性后调用。

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

索引的生成器。

context
IConventionContext<IConventionIndexBuilder>

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

实现

适用于

ProcessIndexUniquenessChanged(IConventionIndexBuilder, IConventionContext<Nullable<Boolean>>)

Source:
SqlServerIndexConvention.cs
Source:
SqlServerIndexConvention.cs
Source:
SqlServerIndexConvention.cs
Source:
SqlServerIndexConvention.cs
Source:
SqlServerIndexConvention.cs

更改索引的唯一性后调用。

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

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

实现

适用于