Condividi tramite


IMigrationsScaffolder.Save(String, ScaffoldedMigration, String) Metodo

Definizione

Salva una migrazione con scaffolding nei file.

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

Parametri

projectDir
String

Directory radice del progetto.

migration
ScaffoldedMigration

Migrazione con scaffolding.

outputDir
String

Directory in cui inserire i file. I percorsi sono relativi alla directory del progetto.

Restituisce

File delle migrazioni salvate.

Si applica a