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.grate.
Summary
Contains settings used by
GrateRunner
.
- Assembly
- Cake
.grate .dll - Namespace
- Cake
.Grate - Base Types
-
- ToolSettings
graph BT
Type-->Base0["ToolSettings"]
Type["GrateSettings"]
class Type type-node
Syntax
public sealed class GrateSettings : ToolSettings
Constructors
Name | Summary |
---|---|
GrateSettings |
Properties
Name | Value | Summary |
---|---|---|
AccessToken | string |
Gets or sets the access token to use.
|
Baseline | bool |
Gets or sets a value indicating whether to create an insert for its recording tables, but not run anything.
|
CommandTimeout | Nullable |
Gets or sets the timeout (in seconds) for normal connections.
|
CommandTimeoutAdmin | Nullable |
Gets or sets the timeout (in seconds) for admin connections.
|
ConnectionString | string |
Gets or sets the connection string.
|
Connection |
string |
Gets or sets the connection string for admin connections.
|
DatabaseType | string |
Gets or sets database type.
|
Disable |
bool |
Gets or sets a value indicating whether to perform token replacement.
|
Do |
bool |
Gets or sets a value indicating whether to store script text.
|
Drop | bool |
Gets or sets a value indicating whether to drop the DB.
|
DryRun | bool |
Gets or sets a value indicating whether to perform a dry run.
|
Environment | string |
Gets or sets the environment for grate to be scoped.
|
Folders | string |
Gets or sets the Folder configuration. See Grate website for documentation.
|
IsUpToDate | bool |
Gets or sets a value indicating whether to check if the database is up to date or not.
|
OutputPath | string |
Gets or sets the output path.
|
RepositoryPath | string |
Gets or sets the repository path value used to track along with version.
|
Restore | string |
Gets or sets the restore file path.
|
RunAllAnyTimeScripts | bool |
Gets or sets a value indicating whether to execute any time scripts.
|
SchemaName | string |
Gets or sets the schema name to use instead of [grate].
|
Silent | bool |
Gets or sets a value indicating whether to keep grate silent.
|
SqlFilesDirectory | string |
Gets or sets the sql files directory.
|
UserTokens | IDictionary |
Gets or sets a dictionary of user tokens.
|
Version | string |
Gets or sets the version file.
|
Warn |
bool |
Gets or sets a value indicating whether to warn and update when previously run one time run scripts.
|
Warn |
bool |
Gets or sets a value indicating whether to warn when previously run scripts have changed.
|
WithTransaction | bool |
Gets or sets a value indicating whether to use transactions.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
WithUserToken |
GrateSettings |
Adds a UserToken to the settings.
Requires the Cake.grate addin
|