Condividi tramite


MigrationsSqlGenerator.GenerateIndexColumnList Metodo

Definizione

Restituisce un frammento SQL per l'elenco di colonne di un indice da un oggetto CreateIndexOperation.

protected virtual void GenerateIndexColumnList (Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member GenerateIndexColumnList : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.GenerateIndexColumnList : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub GenerateIndexColumnList (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)

Parametri

operation
CreateIndexOperation

Operazione.

model
IModel

Modello di destinazione che può essere null se le operazioni esistono senza un modello.

builder
MigrationCommandListBuilder

Generatore di comandi da usare per aggiungere il frammento SQL.

Si applica a