C# 클래스 ConfigurationSetupUtility.MySqlSetup

This class is used to aid in the manipulation of a MySQL connection string as well as running the mysql.exe process.
파일 보기 프로젝트 열기: GridProtectionAlliance/openHistorian

공개 메소드들

메소드 설명
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

메소드 상세

ExecuteScript() 공개 메소드

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.
리턴 void

ExecuteScript() 공개 메소드

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.
리턴 void

ExecuteStatement() 공개 메소드

Execute a SQL statement using the mysql.exe process.
public ExecuteStatement ( string statement ) : void
statement string
리턴 void

MySqlSetup() 공개 메소드

Creates a new instance of the MySqlSetup class.
public MySqlSetup ( ) : System
리턴 System

OpenConnection() 공개 메소드

public OpenConnection ( IDbConnection &connection ) : void
connection IDbConnection
리턴 void