Udostępnij za pośrednictwem


SqlServerMigrationsSqlGenerator.DropIndexes Metoda

Definicja

Przeciążenia

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Generuje program SQL, aby usunąć podane indeksy.

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Generuje program SQL, aby usunąć podane indeksy.

DropIndexes(IProperty, MigrationCommandListBuilder)

DropIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs

Generuje program SQL, aby usunąć podane indeksy.

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)

Parametry

indexes
IEnumerable<IIndex>

Indeksy do porzucenia.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do kompilowania poleceń.

Dotyczy

DropIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs
Źródło:
SqlServerMigrationsSqlGenerator.cs

Generuje program SQL, aby usunąć podane indeksy.

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)

Parametry

indexes
IEnumerable<ITableIndex>

Indeksy do porzucenia.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do kompilowania poleceń.

Dotyczy

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)

Parametry

property
IProperty

Dotyczy