SqlServerMigrationsSqlGenerator.IndexOptions Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| IndexOptions(CreateIndexOperation, IModel, MigrationCommandListBuilder) |
Generiert ein SQL-Fragment für Extras (Filter, enthaltene Spalten, Optionen) eines Indexes aus einem CreateIndexOperation. |
| IndexOptions(MigrationOperation, IModel, MigrationCommandListBuilder) |
Generiert ein SQL-Fragment für Extras (Filter, enthaltene Spalten, Optionen) eines Indexes aus einem CreateIndexOperation. |
IndexOptions(CreateIndexOperation, IModel, MigrationCommandListBuilder)
Generiert ein SQL-Fragment für Extras (Filter, enthaltene Spalten, Optionen) eines Indexes aus einem CreateIndexOperation.
protected override void IndexOptions(Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected override void IndexOptions(Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.IndexOptions : Microsoft.EntityFrameworkCore.Migrations.Operations.CreateIndexOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub IndexOptions (operation As CreateIndexOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameter
- operation
- CreateIndexOperation
Der Vorgang.
- model
- IModel
Das Zielmodell, das sein null kann, wenn die Vorgänge ohne Modell vorhanden sind.
- builder
- MigrationCommandListBuilder
Der Befehls-Generator, der zum Hinzufügen des SQL-Fragments verwendet werden soll.
Gilt für:
IndexOptions(MigrationOperation, IModel, MigrationCommandListBuilder)
Generiert ein SQL-Fragment für Extras (Filter, enthaltene Spalten, Optionen) eines Indexes aus einem CreateIndexOperation.
protected override void IndexOptions(Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation operation, Microsoft.EntityFrameworkCore.Metadata.IModel? model, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
override this.IndexOptions : Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation * Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overrides Sub IndexOptions (operation As MigrationOperation, model As IModel, builder As MigrationCommandListBuilder)
Parameter
- operation
- MigrationOperation
Der Vorgang.
- model
- IModel
Das Zielmodell, das sein null kann, wenn die Vorgänge ohne Modell vorhanden sind.
- builder
- MigrationCommandListBuilder
Der Befehls-Generator, der zum Hinzufügen des SQL-Fragments verwendet werden soll.