C# Class wmib.WMIBMySQL

Mysql
Inheritance: Database, IDisposable
Mostra file Open project: benapetr/wikimedia-bot

Public Methods

Method Description
CacheSize ( ) : int
Connect ( ) : void

Connect mysql

Delete ( string table, string query ) : int
Disconnect ( ) : void

Disconnect mysql

Dispose ( ) : void
EscapeInput ( string data ) : string
ExecuteNonQuery ( string sql, List bind_var = null ) : void
InsertRow ( string table, Row row ) : bool

Insert row

Select ( string sql, List bind_var = null ) : List>
Select ( string table, string rows, string query ) : List>
WMIBMySQL ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Exec ( ) : void
FlushRows ( ) : void

Method Details

CacheSize() public method

public CacheSize ( ) : int
return int

Connect() public method

Connect mysql
public Connect ( ) : void
return void

Delete() public method

public Delete ( string table, string query ) : int
table string
query string
return int

Disconnect() public method

Disconnect mysql
public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EscapeInput() public method

public EscapeInput ( string data ) : string
data string
return string

ExecuteNonQuery() public method

public ExecuteNonQuery ( string sql, List bind_var = null ) : void
sql string
bind_var List
return void

InsertRow() public method

Insert row
public InsertRow ( string table, Row row ) : bool
table string
row Row
return bool

Select() public method

public Select ( string sql, List bind_var = null ) : List>
sql string
bind_var List
return List>

Select() public method

public Select ( string table, string rows, string query ) : List>
table string
rows string
query string
return List>

WMIBMySQL() public method

public WMIBMySQL ( ) : System
return System