共用方式為


SqlServerMigrationsSqlGenerator.Rename 方法

定義

多載

Rename(String, String, MigrationCommandListBuilder)

產生重新命名。

Rename(String, String, String, MigrationCommandListBuilder)

產生重新命名。

Rename(String, String, MigrationCommandListBuilder)

來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs

產生重新命名。

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)

參數

name
String

舊名稱。

newName
String

新的名稱。

builder
MigrationCommandListBuilder

用來建置命令的命令產生器。

適用於

Rename(String, String, String, MigrationCommandListBuilder)

來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs
來源:
SqlServerMigrationsSqlGenerator.cs

產生重新命名。

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)

參數

name
String

舊名稱。

newName
String

新的名稱。

type
String

如果不是 null ,則會針對要重新命名的物件類型附加常值 (,例如資料行或 index.)

builder
MigrationCommandListBuilder

用來建置命令的命令產生器。

適用於