Class OdbcConnectionString
A helper class for encapsulating a conection string in an object. Internally the OdbcConnectionStringBuilder is used to access the values of the given connection string.
Inheritance
object
OdbcConnectionString
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: ETLBox.Connection
Assembly: ETLBox.Odbc.dll
Syntax
public class OdbcConnectionString : DbConnectionString<OdbcConnectionString, OdbcConnectionStringBuilder>, IDbConnectionString
Constructors
OdbcConnectionString()
Declaration
public OdbcConnectionString()
OdbcConnectionString(string)
Declaration
public OdbcConnectionString(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.Connection.DbConnectionString<ETLBox.Connection.OdbcConnectionString, System.Data.Odbc.OdbcConnectionStringBuilder>.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.Connection.DbConnectionString<ETLBox.Connection.OdbcConnectionString, System.Data.Odbc.OdbcConnectionStringBuilder>.DbNameKeyword
MasterDbName
The name of the master database (if applicable)
Declaration
public override string MasterDbName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ETLBox.Connection.DbConnectionString<ETLBox.Connection.OdbcConnectionString, System.Data.Odbc.OdbcConnectionStringBuilder>.MasterDbName
Operators
implicit operator OdbcConnectionString(string)
Declaration
public static implicit operator OdbcConnectionString(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
Returns
Type | Description |
---|---|
OdbcConnectionString |