LocalDbAliases Class

Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["LocalDbAliases"] class Type type-node

Syntax

public static class LocalDbAliases

Attributes

Type Description
CakeAliasCategoryAttribute

Methods

Name Value Summary
LocalDbCreateInstance(ICakeContext, string, LocalDbVersion) void
Creates a server instance and starts the server.
static
LocalDbCreateInstance(ICakeContext, string) void
Creates a server instance and starts the server. The version number defaults to the version of the SqlLocalDB utility
static
LocalDbDeleteInstance(ICakeContext, string) void
Deletes the LocalDB instance
static
LocalDbStartInstance(ICakeContext, string) void
Starts the LocalDB instance. Instance must exist before you can start it.
static
LocalDbStopInstance(ICakeContext, string) void
Stops the LocalDB instance.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin