Поделиться через


SqlServerMigrationsSqlGenerator.GetIndexesToRebuild Метод

Определение

Перегрузки

GetIndexesToRebuild(IProperty, MigrationOperation)

Возвращает список индексов, которые необходимо перестроить при изменении заданного свойства.

GetIndexesToRebuild(IColumn, MigrationOperation)

Возвращает список индексов, которые необходимо перестроить при изменении заданного столбца.

GetIndexesToRebuild(IProperty, MigrationOperation)

Возвращает список индексов, которые необходимо перестроить при изменении заданного свойства.

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

Параметры

property
IProperty

Свойство.

currentOperation
MigrationOperation

Операция, для которой может потребоваться перестроение.

Возвращаемое значение

Список затронутых индексов.

Атрибуты

Применяется к

GetIndexesToRebuild(IColumn, MigrationOperation)

Возвращает список индексов, которые необходимо перестроить при изменении заданного столбца.

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

Параметры

column
IColumn

Столбец.

currentOperation
MigrationOperation

Операция, для которой может потребоваться перестроение.

Возвращаемое значение

Список затронутых индексов.

Атрибуты

Применяется к