C# Class wmib.PostgreSQL

Inheritance: Database
Afficher le fichier Open project: benapetr/wikimedia-bot

Méthodes publiques

Méthode 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

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

Method Details

CacheSize() public méthode

public CacheSize ( ) : int
Résultat int

Commit() public méthode

public Commit ( ) : void
Résultat void

Connect() public méthode

public Connect ( ) : void
Résultat void

Delete() public méthode

public Delete ( string table, string query ) : int
table string
query string
Résultat int

Disconnect() public méthode

public Disconnect ( ) : void
Résultat void

EscapeInput() public méthode

public EscapeInput ( string data ) : string
data string
Résultat string

ExecuteNonQuery() public méthode

public ExecuteNonQuery ( string sql, List bind_var = null ) : void
sql string
bind_var List
Résultat void

InsertRow() public méthode

public InsertRow ( string table, Row row ) : bool
table string
row Row
Résultat bool

PostgreSQL() public méthode

public PostgreSQL ( ) : System
Résultat System

Select() public méthode

public Select ( string sql, List bind_var = null ) : List>
sql string
bind_var List
Résultat List>