Condividi tramite


SqlServerMigrationsSqlGenerator.Rename Metodo

Definizione

Overload

Rename(String, String, MigrationCommandListBuilder)

Genera una ridenominazione.

Rename(String, String, String, MigrationCommandListBuilder)

Genera una ridenominazione.

Rename(String, String, MigrationCommandListBuilder)

Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs

Genera una ridenominazione.

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)

Parametri

name
String

Nome precedente.

newName
String

Nuovo nome.

builder
MigrationCommandListBuilder

Generatore di comandi da usare per compilare i comandi.

Si applica a

Rename(String, String, String, MigrationCommandListBuilder)

Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs
Origine:
SqlServerMigrationsSqlGenerator.cs

Genera una ridenominazione.

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)

Parametri

name
String

Nome precedente.

newName
String

Nuovo nome.

type
String

In caso contrario null, aggiunge un valore letterale per il tipo di oggetto da rinominare ,ad esempio colonna o indice.

builder
MigrationCommandListBuilder

Generatore di comandi da usare per compilare i comandi.

Si applica a