Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

DeployDbArgs

Configuration arguments for DacPac deploy

Record Fields

Record FieldDescription
Action
Signature: DeployAction

Type of action to execute. Defaults to Deploy.

AdditionalSqlPackageProperties
Signature: (string * string) list

Additional configuration parameters required by sqlpackage.exe

BlockOnPossibleDataLoss
Signature: bool

Block deployment if data loss can occur. Defaults to true.

Destination
Signature: string

Path to destination (path to DACPAC or Connection String).

DropObjectsNotInSource
Signature: bool

Drops objects in the destination that do not exist in the source. Defaults to false.

RecreateDb
Signature: bool

Recreates the database from scratch on publish (rather than an in-place update). Defaults to false.

Source
Signature: string

Path to source (path to DACPAC or Connection String).

SqlPackageToolPath
Signature: string

The path to SqlPackage.exe.

Timeout
Signature: int

Timeout for deploy (defaults to 120 seconds).

Variables
Signature: (string * string) list

SQLCMD variables