C# Class Mono.Moma.DataAccess

Afficher le fichier Open project: mono/momareports Class Usage Examples

Protected Properties

Свойство Type Description
connection IDbConnection
transaction IDbTransaction

Méthodes publiques

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

Méthodes protégées

Méthode Description
AddOutputParameter ( IDbCommand cmd, string name ) : IDataParameter
AddParameter ( IDbCommand cmd, string name, object val ) : IDataParameter
GetConnection ( ) : IDbConnection

Private Methods

Méthode Description
DataAccess ( ) : System

Method Details

AddOutputParameter() protected static méthode

protected static AddOutputParameter ( IDbCommand cmd, string name ) : IDataParameter
cmd IDbCommand
name string
Résultat IDataParameter

AddParameter() protected static méthode

protected static AddParameter ( IDbCommand cmd, string name, object val ) : IDataParameter
cmd IDbCommand
name string
val object
Résultat IDataParameter

BeginTransaction() public méthode

public BeginTransaction ( ) : void
Résultat void

Commit() public méthode

public Commit ( ) : void
Résultat void

GetConnection() protected abstract méthode

protected abstract GetConnection ( ) : IDbConnection
Résultat IDbConnection

InitReportCounts() public abstract méthode

public abstract InitReportCounts ( int report_id ) : void
report_id int
Résultat void

InsertMember() public abstract méthode

public abstract 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
Résultat int

InsertOrUpdateMember() public abstract méthode

public abstract 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
Résultat bool

InsertOrUpdatePInvoke() public abstract méthode

public abstract InsertOrUpdatePInvoke ( int report_id, string library_name, string function_name ) : bool
report_id int
library_name string
function_name string
Résultat bool

InsertReportMaster() public abstract méthode

public abstract 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
Résultat int

InsertVersion() public abstract méthode

public abstract InsertVersion ( string name, System.DateTime date ) : int
name string
date System.DateTime
Résultat int

Rollback() public méthode

public Rollback ( ) : void
Résultat void

SetWpf() public abstract méthode

public abstract SetWpf ( int report_id ) : void
report_id int
Résultat void

Property Details

connection protected_oe property

protected IDbConnection connection
Résultat IDbConnection

transaction protected_oe property

protected IDbTransaction transaction
Résultat IDbTransaction