ToolingFacade.ScaffoldInitialCreate Method (String, String)

 

Scaffolds the initial code-based migration corresponding to a previously run database initializer.

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

public ScaffoldedMigration ScaffoldInitialCreate(
	string language,
	string rootNamespace
)

Parameters

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.

Return Value

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

The scaffolded migration.