Udostępnij za pośrednictwem


MigrationsSqlGenerator.GenerateIndexColumnList Metoda

Definicja

Zwraca fragment SQL dla listy kolumn indeksu z klasy 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)

Parametry

operation
CreateIndexOperation

Operacja.

model
IModel

Model docelowy, który może być null taki, jeśli operacje istnieją bez modelu.

builder
MigrationCommandListBuilder

Konstruktor poleceń używany do dodawania fragmentu SQL.

Dotyczy