ToolingFacade.Update Method (String, Boolean)
Updates the database to the specified migration.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- targetMigration
-
Type:
System.String
The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration.
- force
-
Type:
System.Boolean
Value indicating if data loss during automatic migration is acceptable.