Share via


ToolingFacade.Update(String, Boolean) Method

Definition

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