ToolingFacade.ScriptUpdate Method (String, String, Boolean)
Generates a SQL script to migrate between two migrations.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- sourceMigration
-
Type:
System.String
The migration to update from. If null is supplied, a script to update the current database will be produced.
- targetMigration
-
Type:
System.String
The migration to update to. If null is supplied, a script to update to the latest migration will be produced.
- force
-
Type:
System.Boolean
Value indicating if data loss during automatic migration is acceptable.