Partager via


MigrationsScaffolder.ScaffoldMigration Méthode

Définition

Surcharges

ScaffoldMigration(String, String, String)

Génère automatiquement une nouvelle migration.

ScaffoldMigration(String, String, String, String)

Génère automatiquement une nouvelle migration.

ScaffoldMigration(String, String, String)

Génère automatiquement une nouvelle migration.

public virtual Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration ScaffoldMigration (string migrationName, string rootNamespace, string subNamespace = default);
public virtual Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration ScaffoldMigration (string migrationName, string rootNamespace, string subNamespace);
public virtual Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration ScaffoldMigration (string migrationName, string? rootNamespace, string? subNamespace);
abstract member ScaffoldMigration : string * string * string -> Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration
override this.ScaffoldMigration : string * string * string -> Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration
Public Overridable Function ScaffoldMigration (migrationName As String, rootNamespace As String, Optional subNamespace As String = Nothing) As ScaffoldedMigration
Public Overridable Function ScaffoldMigration (migrationName As String, rootNamespace As String, subNamespace As String) As ScaffoldedMigration

Paramètres

migrationName
String

Nom de la migration.

rootNamespace
String

Espace de noms racine du projet.

subNamespace
String

Sous-espace de noms de la migration.

Retours

Migration générée automatiquement.

S’applique à

ScaffoldMigration(String, String, String, String)

Génère automatiquement une nouvelle migration.

public virtual Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration ScaffoldMigration (string migrationName, string rootNamespace, string subNamespace = default, string language = default);
public virtual Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration ScaffoldMigration (string migrationName, string? rootNamespace, string? subNamespace = default, string? language = default);
abstract member ScaffoldMigration : string * string * string * string -> Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration
override this.ScaffoldMigration : string * string * string * string -> Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration
Public Overridable Function ScaffoldMigration (migrationName As String, rootNamespace As String, Optional subNamespace As String = Nothing, Optional language As String = Nothing) As ScaffoldedMigration

Paramètres

migrationName
String

Nom de la migration.

rootNamespace
String

L’espace de noms racine du projet, null pour indiquer qu’il n’y a pas de génération automatique d’espace de noms, utilisez simplement un sous-espace de noms tel quel.

subNamespace
String

Sous-espace de noms de la migration. Remarque : l’espace de noms racine et le sous-espace de noms ne doivent pas être vides.

language
String

Langue du projet.

Retours

Migration générée automatiquement.

Implémente

S’applique à