Partilhar via


IMigrationsScaffolder.ScaffoldMigration Método

Definição

O scaffolds de uma nova migração.

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

Parâmetros

migrationName
String

O nome da migração.

rootNamespace
String

O namespace raiz do projeto.

subNamespace
String

O subpasta da migração.

language
String

A linguagem do projeto.

Retornos

A migração com scaffolded.

Aplica-se a