C# Class AutoQuery.MySqlBase

Show file Open project: CarlosX/RakionLauncher

Public Methods

Method Description
CommandSQL ( string _comm ) : void
Execute ( string sql ) : bool
ExecuteBigQuery ( string table, string fields, int fieldCount, int resultCount, object values, bool resultAsIndex = true ) : void
Init ( string host, string user, string password, string database, int port ) : void
Select ( string sql ) : SQLResult

Method Details

CommandSQL() public method

public CommandSQL ( string _comm ) : void
_comm string
return void

Execute() public method

public Execute ( string sql ) : bool
sql string
return bool

ExecuteBigQuery() public method

public ExecuteBigQuery ( string table, string fields, int fieldCount, int resultCount, object values, bool resultAsIndex = true ) : void
table string
fields string
fieldCount int
resultCount int
values object
resultAsIndex bool
return void

Init() public method

public Init ( string host, string user, string password, string database, int port ) : void
host string
user string
password string
database string
port int
return void

Select() public method

public Select ( string sql ) : SQLResult
sql string
return SQLResult