C# Class SteamBot.util.Sql

Show file Open project: Top-Cat/SteamBot Class Usage Examples

Public Methods

Method Description
Sql ( ) : System
insert ( string sql, object>.Dictionary pars = null ) : int
query ( string sql, object>.Dictionary pars = null ) : List
update ( string sql, object>.Dictionary pars = null ) : int

Private Methods

Method Description
checkConnection ( ) : void
createCommand ( string sql, object>.Dictionary pars ) : MySqlCommand

Method Details

Sql() public method

public Sql ( ) : System
return System

insert() public method

public insert ( string sql, object>.Dictionary pars = null ) : int
sql string
pars object>.Dictionary
return int

query() public method

public query ( string sql, object>.Dictionary pars = null ) : List
sql string
pars object>.Dictionary
return List

update() public method

public update ( string sql, object>.Dictionary pars = null ) : int
sql string
pars object>.Dictionary
return int