Title here
Summary here
The generic defintion of a connection string
public interface IDbConnectionString
The database name
string DbName { get; set; }
Type | Description |
---|---|
string |
The name of the master database (if applicable)
string MasterDbName { get; }
Type | Description |
---|---|
string |
The connection string value, e.g. "Server=localhost;Database=etlbox;"
string Value { get; set; }
Type | Description |
---|---|
string |
Creates a copy of the current connection
IDbConnectionString Clone()
Type | Description |
---|---|
IDbConnectionString | A copy of the connection string |
Clone the current connection string with the master database
IDbConnectionString CloneWithMasterDbName()
Type | Description |
---|---|
IDbConnectionString | The new connection string |
Clone the current connection string with a new database name
IDbConnectionString CloneWithNewDbName(string value = null)
Type | Name | Description |
---|---|---|
string | value | The new database name |
Type | Description |
---|---|
IDbConnectionString | The new connection string |
Returns the connection string Value
string ToString()
Type | Description |
---|---|
string | The new connection string |