PublishDacpacSettings.

CreateNewDatabase Property

Summary

Get or set boolean that specifies whether the existing database will be dropped and a new database created before proceeding with the actual deployment actions. Acquires single-user mode before dropping the existing database.
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Containing Type
PublishDacpacSettings

Syntax

public bool CreateNewDatabase { get; set; }

Value

Type Description
bool True to drop and re-create the database; otherwise, false. Default is false.