C# Class ConfigurationSetupUtility.MySqlSetup

This class is used to aid in the manipulation of a MySQL connection string as well as running the mysql.exe process.
Afficher le fichier Open project: GridProtectionAlliance/openHistorian

Méthodes publiques

Méthode Description
ExecuteScript ( IDbConnection connection, string fileName ) : void

Executes a database script using the given connection.

ExecuteScript ( string scriptPath ) : void

Executes a SQL script using the SQL Server database engine.

ExecuteStatement ( string statement ) : void

Execute a SQL statement using the mysql.exe process.

MySqlSetup ( ) : System

Creates a new instance of the MySqlSetup class.

OpenConnection ( IDbConnection &connection ) : void

Method Details

ExecuteScript() public méthode

Executes a database script using the given connection.
public ExecuteScript ( IDbConnection connection, string fileName ) : void
connection IDbConnection The connection to be used to execute the script.
fileName string The path to the script to be executed.
Résultat void

ExecuteScript() public méthode

Executes a SQL script using the SQL Server database engine.
public ExecuteScript ( string scriptPath ) : void
scriptPath string The path to the SQL Server script to be executed.
Résultat void

ExecuteStatement() public méthode

Execute a SQL statement using the mysql.exe process.
public ExecuteStatement ( string statement ) : void
statement string
Résultat void

MySqlSetup() public méthode

Creates a new instance of the MySqlSetup class.
public MySqlSetup ( ) : System
Résultat System

OpenConnection() public méthode

public OpenConnection ( IDbConnection &connection ) : void
connection IDbConnection
Résultat void