C# Class PAZMySQL.MysqlDb

Mostra file Open project: PAZ-MI4Ie/PAZ Class Usage Examples

Public Methods

Method Description
CloseConnection ( ) : void
CreateCommand ( ) : MySqlCommand
ExecuteCommand ( MySqlCommand command ) : MySqlDataReader
GetInstance ( ) : MysqlDb
MysqlDb ( String host, String username, String password, String database ) : System
OpenConnection ( ) : void

Method Details

CloseConnection() public method

public CloseConnection ( ) : void
return void

CreateCommand() public method

public CreateCommand ( ) : MySqlCommand
return MySql.Data.MySqlClient.MySqlCommand

ExecuteCommand() public method

public ExecuteCommand ( MySqlCommand command ) : MySqlDataReader
command MySql.Data.MySqlClient.MySqlCommand
return MySql.Data.MySqlClient.MySqlDataReader

GetInstance() public static method

public static GetInstance ( ) : MysqlDb
return MysqlDb

MysqlDb() public method

public MysqlDb ( String host, String username, String password, String database ) : System
host String
username String
password String
database String
return System

OpenConnection() public method

public OpenConnection ( ) : void
return void