C# Class Mono.Moma.MySqlDataAccess

Inheritance: DataAccess
Datei anzeigen Open project: mono/momareports

Public Methods

Method Description
BeginTransaction ( ) : void
Commit ( ) : void
InitReportCounts ( int report_id ) : void
InsertMember ( int version_id, string name, bool is_todo, bool is_missing, bool is_niex, bool is_fixed, string fixed_in, string comment ) : int
InsertOrUpdateMember ( int report_id, string name, bool is_missing, bool is_todo, bool is_niex, string todo_comment ) : bool
InsertOrUpdatePInvoke ( int report_id, string library_name, string function_name ) : bool
InsertReportMaster ( System.DateTime submit_date, string ip, string definitions, string reported_by, string email, string organization, string homepage, string comment, string guid ) : int
InsertVersion ( string name, System.DateTime date ) : int
Rollback ( ) : void
SetWpf ( int report_id ) : void

Protected Methods

Method Description
GetConnection ( ) : IDbConnection

Method Details

BeginTransaction() public method

public BeginTransaction ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

GetConnection() protected method

protected GetConnection ( ) : IDbConnection
return IDbConnection

InitReportCounts() public method

public InitReportCounts ( int report_id ) : void
report_id int
return void

InsertMember() public method

public InsertMember ( int version_id, string name, bool is_todo, bool is_missing, bool is_niex, bool is_fixed, string fixed_in, string comment ) : int
version_id int
name string
is_todo bool
is_missing bool
is_niex bool
is_fixed bool
fixed_in string
comment string
return int

InsertOrUpdateMember() public method

public InsertOrUpdateMember ( int report_id, string name, bool is_missing, bool is_todo, bool is_niex, string todo_comment ) : bool
report_id int
name string
is_missing bool
is_todo bool
is_niex bool
todo_comment string
return bool

InsertOrUpdatePInvoke() public method

public InsertOrUpdatePInvoke ( int report_id, string library_name, string function_name ) : bool
report_id int
library_name string
function_name string
return bool

InsertReportMaster() public method

public InsertReportMaster ( System.DateTime submit_date, string ip, string definitions, string reported_by, string email, string organization, string homepage, string comment, string guid ) : int
submit_date System.DateTime
ip string
definitions string
reported_by string
email string
organization string
homepage string
comment string
guid string
return int

InsertVersion() public method

public InsertVersion ( string name, System.DateTime date ) : int
name string
date System.DateTime
return int

Rollback() public method

public Rollback ( ) : void
return void

SetWpf() public method

public SetWpf ( int report_id ) : void
report_id int
return void