Share via


SqlServerMigrationsSqlGenerator.GetIndexesToRebuild Method

Definition

Overloads

GetIndexesToRebuild(IProperty, MigrationOperation)

Gets the list of indexes that need to be rebuilt when the given property is changing.

GetIndexesToRebuild(IColumn, MigrationOperation)

Gets the list of indexes that need to be rebuilt when the given column is changing.

GetIndexesToRebuild(IProperty, MigrationOperation)

Gets the list of indexes that need to be rebuilt when the given property is changing.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__41))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> GetIndexesToRebuild (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation currentOperation);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__48))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> GetIndexesToRebuild (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation currentOperation);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__42))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> GetIndexesToRebuild (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation currentOperation);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__41))>]
abstract member GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.IIndex>
override this.GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.IIndex>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__48))>]
abstract member GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.IIndex>
override this.GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.IIndex>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__42))>]
abstract member GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.IIndex>
override this.GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.IIndex>
Protected Iterator Overridable Function GetIndexesToRebuild (property As IProperty, currentOperation As MigrationOperation) As IEnumerable(Of IIndex)

Parameters

property
IProperty

The property.

currentOperation
MigrationOperation

The operation which may require a rebuild.

Returns

The list of indexes affected.

Attributes

Applies to

GetIndexesToRebuild(IColumn, MigrationOperation)

Gets the list of indexes that need to be rebuilt when the given column is changing.

[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__45))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> GetIndexesToRebuild (Microsoft.EntityFrameworkCore.Metadata.IColumn column, Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation currentOperation);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__45))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> GetIndexesToRebuild (Microsoft.EntityFrameworkCore.Metadata.IColumn? column, Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation currentOperation);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__46))]
protected virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> GetIndexesToRebuild (Microsoft.EntityFrameworkCore.Metadata.IColumn? column, Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation currentOperation);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__45))>]
abstract member GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IColumn * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex>
override this.GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IColumn * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator+<GetIndexesToRebuild>d__46))>]
abstract member GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IColumn * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex>
override this.GetIndexesToRebuild : Microsoft.EntityFrameworkCore.Metadata.IColumn * Microsoft.EntityFrameworkCore.Migrations.Operations.MigrationOperation -> seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex>
Protected Iterator Overridable Function GetIndexesToRebuild (column As IColumn, currentOperation As MigrationOperation) As IEnumerable(Of ITableIndex)

Parameters

column
IColumn

The column.

currentOperation
MigrationOperation

The operation which may require a rebuild.

Returns

The list of indexes affected.

Attributes

Applies to