IMigrator.Migrate(String) Method

Definition

Migrates the database to either a specified target migration or up to the latest migration that exists in the IMigrationsAssembly.

public void Migrate (string targetMigration = default);
abstract member Migrate : string -> unit
Public Sub Migrate (Optional targetMigration As String = Nothing)

Parameters

targetMigration
String

The target migration to migrate the database to, or null to migrate to the latest.

Applies to