SqlQuerySettings Class

Summary

The settings to use when executing sql queries
Assembly
Cake.SqlTools.dll
Namespace
Cake.SqlTools
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SqlQuerySettings"] class Type type-node

Syntax

public class SqlQuerySettings

Constructors

Name Summary
SqlQuerySettings() Initializes a new instance of the SqlQuerySettings class.

Properties

Name Value Summary
AllowLogs bool
Gets or sets whether logs can be written or not
ConnectionString string
Gets or sets the sql connection string to connect with
Provider string
Gets or sets the name of the provider to connect with

Extension Methods

Name Value Summary
Dump<SqlQuerySettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SqlQuerySettings>(SqlQuerySettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SqlQuerySettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SqlQuerySettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<SqlQuerySettings>(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<SqlQuerySettings>(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
ToStringWithNullMarkup() string
Requires the Cake.Issues addin