Class OleDbConnectionString

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
System.Object
DbConnectionString<OleDbConnectionString, System.Data.OleDb.OleDbConnectionStringBuilder>
OleDbConnectionString
Namespace: ETLBox.Connection
Assembly: ETLBox.OleDb.dll
Syntax
    public class OleDbConnectionString : DbConnectionString<OleDbConnectionString, OleDbConnectionStringBuilder>, IDbConnectionString

Constructors

OleDbConnectionString()

Declaration
    public OleDbConnectionString()

OleDbConnectionString(String)

Declaration
    public OleDbConnectionString(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.OleDbConnectionString, System.Data.OleDb.OleDbConnectionStringBuilder>.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.OleDbConnectionString, System.Data.OleDb.OleDbConnectionStringBuilder>.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.OleDbConnectionString, System.Data.OleDb.OleDbConnectionStringBuilder>.MasterDbName

Operators

Implicit(String to OleDbConnectionString)

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

Implements