Partager via


SqlServerMigrationsSqlGenerator.CreateIndexes Méthode

Définition

Surcharges

CreateIndexes(IProperty, MigrationCommandListBuilder)
CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Génère sql pour créer les index donnés.

CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Génère sql pour créer les index donnés.

CreateIndexes(IProperty, MigrationCommandListBuilder)

protected virtual void CreateIndexes (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member CreateIndexes : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.CreateIndexes : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub CreateIndexes (property As IProperty, builder As MigrationCommandListBuilder)

Paramètres

property
IProperty

S’applique à

CreateIndexes(IEnumerable<IIndex>, MigrationCommandListBuilder)

Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs

Génère sql pour créer les index donnés.

protected virtual void CreateIndexes (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IIndex> indexes, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member CreateIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.CreateIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.IIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub CreateIndexes (indexes As IEnumerable(Of IIndex), builder As MigrationCommandListBuilder)

Paramètres

indexes
IEnumerable<IIndex>

Index à créer.

builder
MigrationCommandListBuilder

Générateur de commandes à utiliser pour générer les commandes.

S’applique à

CreateIndexes(IEnumerable<ITableIndex>, MigrationCommandListBuilder)

Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs
Source:
SqlServerMigrationsSqlGenerator.cs

Génère sql pour créer les index donnés.

protected virtual void CreateIndexes (System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> indexes, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member CreateIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.CreateIndexes : seq<Microsoft.EntityFrameworkCore.Metadata.ITableIndex> * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub CreateIndexes (indexes As IEnumerable(Of ITableIndex), builder As MigrationCommandListBuilder)

Paramètres

indexes
IEnumerable<ITableIndex>

Index à créer.

builder
MigrationCommandListBuilder

Générateur de commandes à utiliser pour générer les commandes.

S’applique à