Compartilhar via


IMigrationsScaffolder.Save(String, ScaffoldedMigration, String) Método

Definição

Salva uma migração scaffolded em arquivos.

public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationFiles Save (string projectDir, Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration migration, string outputDir);
public Microsoft.EntityFrameworkCore.Migrations.Design.MigrationFiles Save (string projectDir, Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration migration, string? outputDir);
abstract member Save : string * Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration * string -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationFiles
Public Function Save (projectDir As String, migration As ScaffoldedMigration, outputDir As String) As MigrationFiles

Parâmetros

projectDir
String

O diretório raiz do projeto.

migration
ScaffoldedMigration

A migração com scaffolded.

outputDir
String

O diretório no qual colocar arquivos. Os caminhos são relativos ao diretório do projeto.

Retornos

Os arquivos de migrações salvos.

Aplica-se a