Compartir a través de


SqlServerMigrationsSqlGenerator.DropIndexes Método

Definición

Sobrecargas

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Genera SQL para quitar los índices especificados.

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Genera SQL para quitar los índices especificados.

DropIndexes(IProperty, MigrationCommandListBuilder)

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Genera SQL para quitar los índices especificados.

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>

Índices que se van a quitar.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para compilar los comandos.

Se aplica a

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Genera SQL para quitar los índices especificados.

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>

Índices que se van a quitar.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para compilar los comandos.

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

Se aplica a