SnowflakeConnectionString

Class SnowflakeConnectionString

A helper class for encapsulating a connection string to a Snowflake server in an object. Internally the SnowflakeDbConnectionStringBuilder is used to access the values of the given connection string.

Inheritance
DbConnectionString<SnowflakeConnectionString, SnowflakeDbConnectionStringBuilder>
SnowflakeConnectionString
Namespace: ETLBox.Snowflake
Assembly: ETLBox.Snowflake.dll
Syntax
    public class SnowflakeConnectionString : DbConnectionString<SnowflakeConnectionString, SnowflakeDbConnectionStringBuilder>, IDbConnectionString

Constructors

SnowflakeConnectionString()

Declaration
    public SnowflakeConnectionString()

SnowflakeConnectionString(string)

Declaration
    public SnowflakeConnectionString(string value)
Parameters
TypeNameDescription
stringvalue

Properties

DbName

The database name

Declaration
    public override string DbName { get; set; }
Property Value
TypeDescription
string
Overrides
ETLBox.DbConnectionString<ETLBox.Snowflake.SnowflakeConnectionString, Snowflake.Data.Client.SnowflakeDbConnectionStringBuilder>.DbName

DbNameKeyword

The keyword used in the connection string to identify a database

Declaration
    protected override string DbNameKeyword { get; }
Property Value
TypeDescription
string
Overrides
ETLBox.DbConnectionString<ETLBox.Snowflake.SnowflakeConnectionString, Snowflake.Data.Client.SnowflakeDbConnectionStringBuilder>.DbNameKeyword

MasterDbName

The name of the master database (if applicable)

Declaration
    public override string MasterDbName { get; }
Property Value
TypeDescription
string
Overrides
ETLBox.DbConnectionString<ETLBox.Snowflake.SnowflakeConnectionString, Snowflake.Data.Client.SnowflakeDbConnectionStringBuilder>.MasterDbName

Methods

CloneWithMasterDbName()

Clones the current connection string with the master database name (if applicable)

Declaration
    public override SnowflakeConnectionString CloneWithMasterDbName()
Returns
TypeDescription
SnowflakeConnectionString

The new connection string with master database name

Overrides
ETLBox.DbConnectionString<ETLBox.Snowflake.SnowflakeConnectionString, Snowflake.Data.Client.SnowflakeDbConnectionStringBuilder>.CloneWithMasterDbName()

Operators

implicit operator SnowflakeConnectionString(string)

Declaration
    public static implicit operator SnowflakeConnectionString(string value)
Parameters
TypeNameDescription
stringvalue
Returns
TypeDescription
SnowflakeConnectionString

Implements