Compartir a través de


SqlServerMigrationsSqlGenerator.CreateIndexes Método

Definición

Sobrecargas

CreateIndexes(IProperty, MigrationCommandListBuilder)
CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Genera SQL para crear los índices especificados.

CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Genera SQL para crear los índices especificados.

CreateIndexes(IProperty, MigrationCommandListBuilder)

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

Parámetros

property
IProperty

Se aplica a

CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Genera SQL para crear los índices especificados.

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

Parámetros

indexes
IEnumerable<IIndex>

Índices que se van a crear.

builder
MigrationCommandListBuilder

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

Se aplica a

CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Genera SQL para crear los índices especificados.

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

Parámetros

indexes
IEnumerable<ITableIndex>

Índices que se van a crear.

builder
MigrationCommandListBuilder

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

Se aplica a