Partilhar via


SqlServerMigrationsSqlGenerator.DropIndexes Método

Definição

Sobrecargas

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Gera o SQL para remover os índices fornecidos.

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Gera o SQL para remover os índices fornecidos.

DropIndexes(IProperty, MigrationCommandListBuilder)

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs

Gera o SQL para remover os índices fornecidos.

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)

Parâmetros

indexes
IEnumerable<IIndex>

Os índices a serem suspensos.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para criar os comandos.

Aplica-se a

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs
Origem:
SqlServerMigrationsSqlGenerator.cs

Gera o SQL para remover os índices fornecidos.

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)

Parâmetros

indexes
IEnumerable<ITableIndex>

Os índices a serem suspensos.

builder
MigrationCommandListBuilder

O construtor de comandos a ser usado para criar os comandos.

Aplica-se a

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)

Parâmetros

property
IProperty

Aplica-se a