Share via


ToolingFacade.Scaffold(String, String, String, Boolean) Method

Definition

Scaffolds a code-based migration to apply any pending model changes.

public virtual System.Data.Entity.Migrations.Design.ScaffoldedMigration Scaffold (string migrationName, string language, string rootNamespace, bool ignoreChanges);
abstract member Scaffold : string * string * string * bool -> System.Data.Entity.Migrations.Design.ScaffoldedMigration
override this.Scaffold : string * string * string * bool -> System.Data.Entity.Migrations.Design.ScaffoldedMigration
Public Overridable Function Scaffold (migrationName As String, language As String, rootNamespace As String, ignoreChanges As Boolean) As ScaffoldedMigration

Parameters

migrationName
String

The name for the generated migration.

language
String

The programming language of the generated migration.

rootNamespace
String

The root namespace of the project the migration will be added to.

ignoreChanges
Boolean

Whether or not to include model changes.

Returns

The scaffolded migration.

Applies to