Table of Contents

Class OdbcMySqlDataSource

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual MySQL (ODBC) data source.

public class OdbcMySqlDataSource : OdbcDataSourceBase, IComparable<OdbcDataSourceBase>
Inheritance
OdbcMySqlDataSource
Implements
Inherited Members

Constructors

OdbcMySqlDataSource()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.OdbcMySqlDataSource class.

public OdbcMySqlDataSource()

Properties

ConnectionType

Gets or sets the connection type for this MySQL data source - either "TCP" or "NamedPipe".

public MySqlOdbcConnectionType ConnectionType { get; set; }

Property Value

MySqlOdbcConnectionType

ConnectionTypeString

Gets the connection type for this MySQL data source.

public string ConnectionTypeString { get; }

Property Value

string

Database

Gets or sets the name of the database for the connection.

public string Database { get; set; }

Property Value

string

NamedPipe

Gets or sets the name of the named pipe to use for the connection. This setting only applies when the connection type is set to "NamedPipe".

public string NamedPipe { get; set; }

Property Value

string

Password

Gets or sets the password used for this connection in plain text. This field is optional.

public string Password { get; set; }

Property Value

string

PasswordDocumented

Gets or sets whether the password was documented for this connection.

public BooleanOption PasswordDocumented { get; set; }

Property Value

BooleanOption

Port

Gets or sets the TCP port number to use for the connection. By default this is 3306.

public int Port { get; set; }

Property Value

int

Server

Gets or sets the name of the MySQL server. This setting only applies when the connection type is TCP.

public string Server { get; set; }

Property Value

string

Username

Gets or sets the username to use for the connection.

public string Username { get; set; }

Property Value

string