This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.SqlServer.
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
- Publish
Dacpac Settings
Syntax
public bool CreateNewDatabase { get; set; }
Value
Type | Description |
---|---|
bool | True to drop and re-create the database; otherwise, false. Default is false. |