Ef6DatabaseUpdateExtensions.

WithTarget(Ef6DatabaseUpdateSettings, string) Method

Summary

Specifies the name of a particular migration to update the database to. If omitted, the current model will be used.

Syntax

public static Ef6DatabaseUpdateSettings WithTarget(this Ef6DatabaseUpdateSettings settings, string target)

Parameters

Name Type Description
settings Ef6DatabaseUpdateSettings The settings.
target string Destination directory path.

Return Value

Type Description
Ef6DatabaseUpdateSettings The settings instance with Target set to target.