Compartir a través de


SqlServerMigrationsSqlGenerator.IndexOptions Método

Definición

Genera un fragmento de SQL para extras (filtro, columnas incluidas, opciones) de un índice a partir de .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)

Parámetros

operation
CreateIndexOperation

Operación.

model
IModel

Modelo de destino que puede ser null si las operaciones existen sin un modelo.

builder
MigrationCommandListBuilder

Generador de comandos que se va a usar para agregar el fragmento de SQL.

Se aplica a