SqlServerMigrationsSqlGenerator.CreateIndexes Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
CreateIndexes(IProperty, MigrationCommandListBuilder) | |
CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder) |
Genera SQL per creare gli indici specificati. |
CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder) |
Genera SQL per creare gli indici specificati. |
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)
Parametri
- property
- IProperty
- builder
- MigrationCommandListBuilder
Si applica a
CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)
Genera SQL per creare gli indici specificati.
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)
Parametri
- indexes
- IEnumerable<IIndex>
Indici da creare.
- builder
- MigrationCommandListBuilder
Generatore di comandi da usare per compilare i comandi.
Si applica a
CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)
Genera SQL per creare gli indici specificati.
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)
Parametri
- indexes
- IEnumerable<ITableIndex>
Indici da creare.
- builder
- MigrationCommandListBuilder
Generatore di comandi da usare per compilare i comandi.