MigrationScaffolder.Scaffold Method
Scaffolds a code-based migration.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Scaffold(String) | Scaffolds a code based migration to apply any pending model changes to the database. |
![]() | Scaffold(String, Boolean) | Scaffolds a code based migration to apply any pending model changes to the database. |
MigrationScaffolder.Scaffold Method (String)
Scaffolds a code based migration to apply any pending model changes to the database.
Parameters
- migrationName
-
Type:
System.String
The name to use for the scaffolded migration.
Return Value
Type: System.Data.Entity.Migrations.Design.ScaffoldedMigrationThe scaffolded migration.
MigrationScaffolder.Scaffold Method (String, Boolean)
Scaffolds a code based migration to apply any pending model changes to the database.
Parameters
- migrationName
-
Type:
System.String
The name to use for the scaffolded migration.
- ignoreChanges
-
Type:
System.Boolean
Whether or not to include model changes.
Return Value
Type: System.Data.Entity.Migrations.Design.ScaffoldedMigrationThe scaffolded migration.