C# Class wmib.PostgreSQL

Inheritance: Database
Mostrar archivo Open project: benapetr/wikimedia-bot

Public Methods

Method Description
CacheSize ( ) : int
Commit ( ) : void
Connect ( ) : void
Delete ( string table, string query ) : int
Disconnect ( ) : void
EscapeInput ( string data ) : string
ExecuteNonQuery ( string sql, List bind_var = null ) : void
InsertRow ( string table, Row row ) : bool
PostgreSQL ( ) : System
Select ( string sql, List bind_var = null ) : List>

Private Methods

Method Description
BindVars ( string sql, List bind_var, Npgsql c ) : void
HandleError ( string statement, List bind_var = null ) : void

Method Details

CacheSize() public method

public CacheSize ( ) : int
return int

Commit() public method

public Commit ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

Delete() public method

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

Disconnect() public method

public Disconnect ( ) : void
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

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

PostgreSQL() public method

public PostgreSQL ( ) : System
return System

Select() public method

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