Partager via


IMigrationsScaffolder.ScaffoldMigration Méthode

Définition

Génère une nouvelle migration.

public Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration ScaffoldMigration (string migrationName, string rootNamespace, string subNamespace = default, string language = default);
public 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
Public 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

Espace de noms racine du projet.

subNamespace
String

Sous-espace de noms de la migration.

language
String

Langue du projet.

Retours

Migration avec structure.

S’applique à