C# Class DarkEmu_GameServer.Database

Show file Open project: CarlosX/DarkEmu

Public Methods

Method Description
CheckTables ( string tables ) : void
Connect ( DatabaseSettings settings ) : void
ExecuteQueryAsnyc ( string MySqlCommand ) : void
GetDataSet ( string Query ) : DataSet

Private Methods

Method Description
Connect ( string DBIp, int DBPort, string DB, string DBUsername, string DBPassword ) : void

Method Details

CheckTables() public static method

public static CheckTables ( string tables ) : void
tables string
return void

Connect() public static method

public static Connect ( DatabaseSettings settings ) : void
settings DatabaseSettings
return void

ExecuteQueryAsnyc() public static method

public static ExecuteQueryAsnyc ( string MySqlCommand ) : void
MySqlCommand string
return void

GetDataSet() public static method

public static GetDataSet ( string Query ) : DataSet
Query string
return System.Data.DataSet