共用方式為


SqlServerMigrationsSqlGenerator.IndexOptions Method

Definition

Overloads

IndexOptions(CreateIndexOperation, IModel, MigrationCommandListBuilder)

Generates a SQL fragment for extras (filter, included columns, options) of an index from a CreateIndexOperation.

IndexOptions(MigrationOperation, IModel, MigrationCommandListBuilder)

Generates a SQL fragment for extras (filter, included columns, options) of an index from a CreateIndexOperation.

IndexOptions(CreateIndexOperation, IModel, MigrationCommandListBuilder)

Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs

Generates a SQL fragment for extras (filter, included columns, options) of an index from a 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)

Parameters

operation
CreateIndexOperation

The operation.

model
IModel

The target model which may be null if the operations exist without a model.

builder
MigrationCommandListBuilder

The command builder to use to add the SQL fragment.

Applies to

IndexOptions(MigrationOperation, IModel, MigrationCommandListBuilder)

Source:
SqlServerMigrationsSqlGenerator.cs

Generates a SQL fragment for extras (filter, included columns, options) of an index from a 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)

Parameters

operation
MigrationOperation

The operation.

model
IModel

The target model which may be null if the operations exist without a model.

builder
MigrationCommandListBuilder

The command builder to use to add the SQL fragment.

Applies to