Share via


SqlServerMigrationsSqlGenerator.DropIndexes Method

Definition

Overloads

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Generates SQL to drop the given indexes.

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Generates SQL to drop the given indexes.

DropIndexes(IProperty, MigrationCommandListBuilder)

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs

Generates SQL to drop the given indexes.

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)

Parameters

indexes
IEnumerable<IIndex>

The indexes to drop.

builder
MigrationCommandListBuilder

The command builder to use to build the commands.

Applies to

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs

Generates SQL to drop the given indexes.

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)

Parameters

indexes
IEnumerable<ITableIndex>

The indexes to drop.

builder
MigrationCommandListBuilder

The command builder to use to build the commands.

Applies to

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)

Parameters

property
IProperty

Applies to