Class MySqlConnectionString

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

Inheritance
System.Object
DbConnectionString<MySqlConnectionString, MySql.Data.MySqlClient.MySqlConnectionStringBuilder>
MySqlConnectionString
Namespace: ETLBox.Connection
Assembly: ETLBox.MySql.dll
Syntax
    public class MySqlConnectionString : DbConnectionString<MySqlConnectionString, MySqlConnectionStringBuilder>, IDbConnectionString

Constructors

MySqlConnectionString()

Declaration
    public MySqlConnectionString()

MySqlConnectionString(String)

Declaration
    public MySqlConnectionString(string value)
Parameters
TypeNameDescription
System.Stringvalue

Properties

DbName

The database name

Declaration
    public override string DbName { get; set; }
Property Value
TypeDescription
System.String
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.MySqlConnectionString, MySql.Data.MySqlClient.MySqlConnectionStringBuilder>.DbName

DbNameKeyword

The keyword used in the connection string to identify a database

Declaration
    protected override string DbNameKeyword { get; }
Property Value
TypeDescription
System.String
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.MySqlConnectionString, MySql.Data.MySqlClient.MySqlConnectionStringBuilder>.DbNameKeyword

MasterDbName

The name of the master database (if applicable)

Declaration
    public override string MasterDbName { get; }
Property Value
TypeDescription
System.String
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.MySqlConnectionString, MySql.Data.MySqlClient.MySqlConnectionStringBuilder>.MasterDbName

Operators

Implicit(String to MySqlConnectionString)

Declaration
    public static implicit operator MySqlConnectionString(string value)
Parameters
TypeNameDescription
System.Stringvalue
Returns
TypeDescription
MySqlConnectionString

Implements