EfCoreDatabaseUpdateSettingsExtensions.

SetTargetMigration(EfCoreDatabaseUpdateSettings, string) Method

Summary

Sets a named target migration to migrate the database too.

Syntax

public static EfCoreDatabaseUpdateSettings SetTargetMigration(this EfCoreDatabaseUpdateSettings settings, string migration)

Parameters

Name Type Description
settings EfCoreDatabaseUpdateSettings The settings.
migration string The name of the migration to target

Return Value

Type Description
EfCoreDatabaseUpdateSettings The settings instance with Migration set to migration.