C# Class Aegis.Data.MySQL.DBCommand

Inheritance: IDisposable
Datei anzeigen Open project: SyncZone/AegisFramework Class Usage Examples

Public Methods

Method Description
BindParameter ( string parameterName, object value ) : void
DBCommand ( ConnectionPool pool, int timeoutSec = 60 ) : System
Dispose ( ) : void
EndQuery ( ) : void
PostQuery ( System.Action actionOnRead, Action actionOnCompletion ) : void
PostQuery ( Action actionOnRead, Action actionOnCompletion ) : void
PostQueryNoReader ( ) : void
PostQueryNoReader ( Action actionOnCompletion ) : void
Query ( ) : MySqlDataReader
Query ( string query ) : MySqlDataReader
QueryNoReader ( ) : void
QueryNoReader ( string query ) : void

Private Methods

Method Description
Prepare ( ) : void
StringBuilder ( ) : System

Method Details

BindParameter() public method

public BindParameter ( string parameterName, object value ) : void
parameterName string
value object
return void

DBCommand() public method

public DBCommand ( ConnectionPool pool, int timeoutSec = 60 ) : System
pool ConnectionPool
timeoutSec int
return System

Dispose() public method

public Dispose ( ) : void
return void

EndQuery() public method

public EndQuery ( ) : void
return void

PostQuery() public method

public PostQuery ( System.Action actionOnRead, Action actionOnCompletion ) : void
actionOnRead System.Action
actionOnCompletion Action
return void

PostQuery() public method

public PostQuery ( Action actionOnRead, Action actionOnCompletion ) : void
actionOnRead Action
actionOnCompletion Action
return void

PostQueryNoReader() public method

public PostQueryNoReader ( ) : void
return void

PostQueryNoReader() public method

public PostQueryNoReader ( Action actionOnCompletion ) : void
actionOnCompletion Action
return void

Query() public method

public Query ( ) : MySqlDataReader
return MySql.Data.MySqlClient.MySqlDataReader

Query() public method

public Query ( string query ) : MySqlDataReader
query string
return MySql.Data.MySqlClient.MySqlDataReader

QueryNoReader() public method

public QueryNoReader ( ) : void
return void

QueryNoReader() public method

public QueryNoReader ( string query ) : void
query string
return void