CreateDatabaseFileSpec Class

Summary

File Spec object to describe file name and path for creating databases
Assembly
Cake.SqlServer.dll
Namespace
Cake.SqlServer
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CreateDatabaseFileSpec"] class Type type-node

Syntax

public sealed class CreateDatabaseFileSpec

Constructors

Name Summary
CreateDatabaseFileSpec(string) Constructor for filespec.

Properties

Name Value Summary
FileName string
Path to file
Name string
Name of file - internal name of file in SQL Server. Defaulted to database name for mdf and {DatabaseName}_log for log files

Extension Methods

Name Value Summary
Dump<CreateDatabaseFileSpec>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<CreateDatabaseFileSpec>(CreateDatabaseFileSpec[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<CreateDatabaseFileSpec>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<CreateDatabaseFileSpec>(string) void
Requires the Cake.Issues addin
ThrowIfNull<CreateDatabaseFileSpec>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<CreateDatabaseFileSpec>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin