SqlServerMigrationsSqlGenerator.CreateIndexes Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
- builder
- MigrationCommandListBuilder
Aplica-se a
CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)
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)
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
Entity Framework