Partilhar via


SqlServerMigrationsSqlGenerator.CreateIndexes Método

Definição

Sobrecargas

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

Gera o SQL para criar os índices fornecidos.

CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Gera o SQL para criar os índices fornecidos.

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

Aplica-se a

CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

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

Gera o SQL para criar os índices fornecidos.

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>

Os índices a serem criados.

builder
MigrationCommandListBuilder

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

Aplica-se a

CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

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

Gera o SQL para criar os índices fornecidos.

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>

Os índices a serem criados.

builder
MigrationCommandListBuilder

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

Aplica-se a