Represents a MySQL database connection implementing the IDatabase interface for general database operations.
- Namespace
- DbSyncKit
.MySQL - Interfaces
- Base Types
-
- object
Syntax
public class Connection : IDatabase
Constructors
Name | Summary |
---|---|
Connection |
Initializes a new instance of the Connection class with MySQL server details. |
Properties
Name | Property Type | Summary |
---|---|---|
Provider | DatabaseProvider |
Gets the database provider type, which is MySql for this class.
|
Methods
Name | Return Value | Summary |
---|---|---|
ExecuteQuery |
DataSet |
Executes a query against the MySQL database and returns the results as a DataSet.
|
GetConnectionString |
string |
Gets the connection string for the MySQL database using provided server details.
|
TestConnection |
bool |
Tests the connection to the MySQL database.
|