[]
Default ctor. By default, connection string and command text are empty strings, and command timeout is DefaultTimeout
public OdbcDataSource()
Initializes a new instance of the OdbcDataSource class.
public OdbcDataSource(string connectionString, string sql, int timeout)
Type | Name | Description |
---|---|---|
string | connectionString | The connection string. |
string | sql | The current command text. |
int | timeout | The command timeout. |