SqlServerMigrationsSqlGenerator.IndexOptions(CreateIndexOperation, IModel, MigrationCommandListBuilder) Yöntem

Tanım

bir dizininden SQL (filtre, dahil edilen sütunlar, seçenekler) için bir parça CreateIndexOperation oluşturur.

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)

Parametreler

operation
CreateIndexOperation

işlemi.

model
IModel

İşlemler model null olmadan mevcutsa hedef model olabilir.

builder
MigrationCommandListBuilder

Veri parçasını eklemek için kullanabileceğiniz SQL oluşturucu.

Şunlara uygulanır