SqlServerMigrationsSqlGenerator.GetIndexesToRebuild Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GetIndexesToRebuild(IProperty, MigrationOperation) |
Obtiene la lista de índices que se deben volver a generar cuando cambia la propiedad especificada. |
GetIndexesToRebuild(IColumn, MigrationOperation) |
Obtiene la lista de índices que se deben volver a generar cuando cambia la columna especificada. |
GetIndexesToRebuild(IProperty, MigrationOperation)
Obtiene la lista de índices que se deben volver a generar cuando cambia la propiedad especificada.
[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
Propiedad.
- currentOperation
- MigrationOperation
Operación que puede requerir una recompilación.
Devoluciones
Lista de índices afectados.
- Atributos
Se aplica a
GetIndexesToRebuild(IColumn, MigrationOperation)
Obtiene la lista de índices que se deben volver a generar cuando cambia la columna especificada.
[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
Columna.
- currentOperation
- MigrationOperation
Operación que puede requerir una recompilación.
Devoluciones
Lista de índices afectados.
- Atributos