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
object
MySqlConnectionString
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.MySql
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
Type | Name | Description |
---|---|---|
string | value |
Properties
DbName
The database name
Declaration
public override string DbName { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
ETLBox.DbConnectionString<ETLBox.MySql.MySqlConnectionString, MySqlConnectionStringBuilder>.DbName
DbNameKeyword
The keyword used in the connection string to identify a database
Declaration
protected override string DbNameKeyword { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ETLBox.DbConnectionString<ETLBox.MySql.MySqlConnectionString, MySqlConnectionStringBuilder>.DbNameKeyword
MasterDbName
The name of the master database (if applicable)
Declaration
public override string MasterDbName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ETLBox.DbConnectionString<ETLBox.MySql.MySqlConnectionString, MySqlConnectionStringBuilder>.MasterDbName
Operators
implicit operator MySqlConnectionString(string)
Declaration
public static implicit operator MySqlConnectionString(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
Returns
Type | Description |
---|---|
MySqlConnectionString |