共用方式為


SqlServerMigrationsSqlGenerator.DropIndexes 方法

定義

多載

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

產生 SQL 以卸載指定的索引。

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

產生 SQL 以卸載指定的索引。

DropIndexes(IProperty, MigrationCommandListBuilder)

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs

產生 SQL 以卸載指定的索引。

protected virtual void DropIndexes (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> indexes, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member DropIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.DropIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub DropIndexes (indexes As IEnumerable(Of IIndex), builder As MigrationCommandListBuilder)

參數

indexes
IEnumerable<IIndex>

要卸載的索引。

builder
MigrationCommandListBuilder

用來建置命令的命令產生器。

適用於

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs

產生 SQL 以卸載指定的索引。

protected virtual void DropIndexes (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> indexes, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member DropIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.DropIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub DropIndexes (indexes As IEnumerable(Of ITableIndex), builder As MigrationCommandListBuilder)

參數

indexes
IEnumerable<ITableIndex>

要卸載的索引。

builder
MigrationCommandListBuilder

用來建置命令的命令產生器。

適用於

DropIndexes(IProperty, MigrationCommandListBuilder)

protected virtual void DropIndexes (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member DropIndexes : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.DropIndexes : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub DropIndexes (property As IProperty, builder As MigrationCommandListBuilder)

參數

property
IProperty

適用於