Compartilhar via


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

Definição

Salva uma migração scaffolded em arquivos.

public virtual Microsoft.EntityFrameworkCore.Migrations.Design.MigrationFiles Save (string projectDir, Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration migration, string outputDir);
public virtual 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
override this.Save : string * Microsoft.EntityFrameworkCore.Migrations.Design.ScaffoldedMigration * string -> Microsoft.EntityFrameworkCore.Migrations.Design.MigrationFiles
Public Overridable 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.

Implementações

Aplica-se a