Partager via


SqlServerMigrationsSqlGenerator.Rename Méthode

Définition

Surcharges

Rename(String, String, MigrationCommandListBuilder)

Génère un renommage.

Rename(String, String, String, MigrationCommandListBuilder)

Génère un renommage.

Rename(String, String, MigrationCommandListBuilder)

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

Génère un renommage.

protected virtual void Rename (string name, string newName, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Rename : string * string * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Rename : string * string * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Rename (name As String, newName As String, builder As MigrationCommandListBuilder)

Paramètres

name
String

Ancien nom.

newName
String

Nouveau nom.

builder
MigrationCommandListBuilder

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

S’applique à

Rename(String, String, String, MigrationCommandListBuilder)

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

Génère un renommage.

protected virtual void Rename (string name, string newName, string type, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
protected virtual void Rename (string name, string newName, string? type, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder);
abstract member Rename : string * string * string * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
override this.Rename : string * string * string * Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder -> unit
Protected Overridable Sub Rename (name As String, newName As String, type As String, builder As MigrationCommandListBuilder)

Paramètres

name
String

Ancien nom.

newName
String

Nouveau nom.

type
String

Si ce n’est pas nullle cas, ajoute un littéral pour le type d’objet en cours de renommage (par exemple, colonne ou index).)

builder
MigrationCommandListBuilder

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

S’applique à