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

 

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

Namespace:   System.Data.Entity.Migrations.Design
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual ScaffoldedMigration Scaffold(
	string migrationName,
	string language,
	string rootNamespace,
	bool ignoreChanges
)

Parameters

migrationName
Type: System.String

The name for the generated migration.

language
Type: System.String

The programming language of the generated migration.

rootNamespace
Type: System.String

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

ignoreChanges
Type: System.Boolean

Whether or not to include model changes.

Return Value

Type: System.Data.Entity.Migrations.Design.ScaffoldedMigration

The scaffolded migration.