SqlServerMigrationsSqlGenerator.GetIndexesToRebuild Methode

Definition

Überlädt

GetIndexesToRebuild(IProperty, MigrationOperation)

Ruft die Liste der Indizes ab, die neu erstellt werden müssen, wenn sich die angegebene Eigenschaft ändert.

GetIndexesToRebuild(IColumn, MigrationOperation)

Ruft die Liste der Indizes ab, die neu erstellt werden müssen, wenn sich die angegebene Spalte ändert.

GetIndexesToRebuild(IProperty, MigrationOperation)

Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs

Ruft die Liste der Indizes ab, die neu erstellt werden müssen, wenn sich die angegebene Eigenschaft ändert.

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

Parameter

property
IProperty

Die Eigenschaft.

currentOperation
MigrationOperation

Der Vorgang, der möglicherweise eine Neuerstellung erfordert.

Gibt zurück

Die Liste der betroffenen Indizes.

Attribute

Gilt für:

GetIndexesToRebuild(IColumn, MigrationOperation)

Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs
Quelle:
SqlServerMigrationsSqlGenerator.cs

Ruft die Liste der Indizes ab, die neu erstellt werden müssen, wenn sich die angegebene Spalte ändert.

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

Parameter

column
IColumn

Die Spalte.

currentOperation
MigrationOperation

Der Vorgang, der möglicherweise eine Neuerstellung erfordert.

Gibt zurück

Die Liste der betroffenen Indizes.

Attribute

Gilt für: