Compartilhar via


SqlServerMigrationsSqlGenerator.GetIndexesToRebuild Método

Definição

Sobrecargas

GetIndexesToRebuild(IProperty, MigrationOperation)

Obtém a lista de índices que precisam ser recriados quando a propriedade fornecida está sendo alterada.

GetIndexesToRebuild(IColumn, MigrationOperation)

Obtém a lista de índices que precisam ser recriados quando a coluna fornecida está sendo alterada.

GetIndexesToRebuild(IProperty, MigrationOperation)

Obtém a lista de índices que precisam ser recriados quando a propriedade fornecida está sendo alterada.

[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)

Parâmetros

property
IProperty

A propriedade.

currentOperation
MigrationOperation

A operação que pode exigir uma recompilação.

Retornos

A lista de índices afetados.

Atributos

Aplica-se a

GetIndexesToRebuild(IColumn, MigrationOperation)

Obtém a lista de índices que precisam ser recriados quando a coluna fornecida está sendo alterada.

[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)

Parâmetros

column
IColumn

A coluna.

currentOperation
MigrationOperation

A operação que pode exigir uma recompilação.

Retornos

A lista de índices afetados.

Atributos

Aplica-se a