MigratorBase.Update 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.
Overloads
Update() |
Updates the target database to the latest migration. |
Update(String) |
Updates the target database to a given migration. |
Update()
Updates the target database to the latest migration.
public void Update ();
member this.Update : unit -> unit
Public Sub Update ()
Applies to
Update(String)
Updates the target database to a given migration.
public virtual void Update (string targetMigration);
abstract member Update : string -> unit
override this.Update : string -> unit
Public Overridable Sub Update (targetMigration As String)
Parameters
- targetMigration
- String
The migration to upgrade/downgrade to.
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