Cake.SqlServer Namespace

Class Types

Class Summary
BackupAliases Contains functionality to restore SQL Server backup files *.bak
DacAliases Contains functionality to deal with DAC functionality from SQL Server: create and restore BACPAC files; create and restore DACPAC files
ExtractDacpacSettings Settings for extract dacpac from database
LocalDbAliases
PublishDacpacSettings Settings for extract dacpac from database
RestoreSqlBackupSettings Settings for restoring database from a backup file
SqlServerAliases

Contains functionality to deal with SQL Server: DropDatabase, CreateDatabase, execute SQL, execute SQL from files, etc. Provides functionality to manage LocalDb instances: Create, Start, Stop, Delete instances;

In order to use the commands for this addin, include the following in your build.cake file to download and reference from NuGet.org:

#addin "nuget:?package=Cake.SqlServer"

Enum Types

Enum Summary
LocalDbVersion Version of LocalDB