Share via


ToolingFacade.ScaffoldInitialCreate(String, String) Method

Definition

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

public System.Data.Entity.Migrations.Design.ScaffoldedMigration ScaffoldInitialCreate (string language, string rootNamespace);
member this.ScaffoldInitialCreate : string * string -> System.Data.Entity.Migrations.Design.ScaffoldedMigration
Public Function ScaffoldInitialCreate (language As String, rootNamespace As String) As ScaffoldedMigration

Parameters

language
String

The programming language of the generated migration.

rootNamespace
String

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

Returns

The scaffolded migration.

Applies to