ToolingFacade.Update(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the database to the specified migration.
public void Update (string targetMigration, bool force);
member this.Update : string * bool -> unit
Public Sub Update (targetMigration As String, force As Boolean)
Parameters
- targetMigration
- String
The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration.
- force
- Boolean
Value indicating if data loss during automatic migration is acceptable.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework