C# Class Browser.mod.DB

Afficher le fichier Open project: NtreevSoft/Crashweb

Méthodes publiques

Méthode Description
InsertCallstackComment ( int callstack_uid, string author, string comment ) : bool
LoadCallstack ( int callstack_uid, ForEachSinglestep func ) : bool
LoadCallstackComment ( int callstack_uid, ForEachCallstackComment func ) : bool
LoadCallstackList ( int project_uid, int pageNo, int pageSize, int fromDate, int toDate, bool seperate_version, string specific_version, int hideResolved, ForEachCallstackGroup func, int &totalPageSize ) : bool
LoadCallstackPreview ( int callstack_uid, string &callstack ) : bool
LoadDailyCount ( int project_uid, short fromDate, short toDate, ForEachDailyCount func ) : bool
LoadProject ( sProject>.Dictionary &projectList ) : bool
LoadReport ( int project_uid, int pageNo, int pageSize, ForEachCallstack func, int &totalPageSize, ReportWhereFilter filterType = ReportWhereFilter.None, string filterValue = "", int hideResolved ) : bool
LoadReportDeleted ( int project_uid, ForEachCallstack func ) : bool
LoadSameReport ( int callstack_uid, ForEachCallstack func ) : bool
LoadTrendCount ( int callstack_uid, short fromDate, short toDate, ForEachTrendCount func ) : bool
ReserveReparse ( int project_uid, int report_uid, string version ) : bool
UpdateCallstackState ( int callstack_uid, string state ) : bool
UpdateReportState ( int report_uid, int state ) : bool

Private Methods

Méthode Description
DB ( ) : System
DelegateReport ( System.Data.SqlClient.SqlDataReader reader, ForEachCallstack func ) : void
GetRelativeTimeString ( System.DateTime dateTime ) : string
RemoveUnwantedChars ( string str ) : string

Method Details

InsertCallstackComment() public static méthode

public static InsertCallstackComment ( int callstack_uid, string author, string comment ) : bool
callstack_uid int
author string
comment string
Résultat bool

LoadCallstack() public static méthode

public static LoadCallstack ( int callstack_uid, ForEachSinglestep func ) : bool
callstack_uid int
func ForEachSinglestep
Résultat bool

LoadCallstackComment() public static méthode

public static LoadCallstackComment ( int callstack_uid, ForEachCallstackComment func ) : bool
callstack_uid int
func ForEachCallstackComment
Résultat bool

LoadCallstackList() public static méthode

public static LoadCallstackList ( int project_uid, int pageNo, int pageSize, int fromDate, int toDate, bool seperate_version, string specific_version, int hideResolved, ForEachCallstackGroup func, int &totalPageSize ) : bool
project_uid int
pageNo int
pageSize int
fromDate int
toDate int
seperate_version bool
specific_version string
hideResolved int
func ForEachCallstackGroup
totalPageSize int
Résultat bool

LoadCallstackPreview() public static méthode

public static LoadCallstackPreview ( int callstack_uid, string &callstack ) : bool
callstack_uid int
callstack string
Résultat bool

LoadDailyCount() public static méthode

public static LoadDailyCount ( int project_uid, short fromDate, short toDate, ForEachDailyCount func ) : bool
project_uid int
fromDate short
toDate short
func ForEachDailyCount
Résultat bool

LoadProject() public static méthode

public static LoadProject ( sProject>.Dictionary &projectList ) : bool
projectList sProject>.Dictionary
Résultat bool

LoadReport() public static méthode

public static LoadReport ( int project_uid, int pageNo, int pageSize, ForEachCallstack func, int &totalPageSize, ReportWhereFilter filterType = ReportWhereFilter.None, string filterValue = "", int hideResolved ) : bool
project_uid int
pageNo int
pageSize int
func ForEachCallstack
totalPageSize int
filterType ReportWhereFilter
filterValue string
hideResolved int
Résultat bool

LoadReportDeleted() public static méthode

public static LoadReportDeleted ( int project_uid, ForEachCallstack func ) : bool
project_uid int
func ForEachCallstack
Résultat bool

LoadSameReport() public static méthode

public static LoadSameReport ( int callstack_uid, ForEachCallstack func ) : bool
callstack_uid int
func ForEachCallstack
Résultat bool

LoadTrendCount() public static méthode

public static LoadTrendCount ( int callstack_uid, short fromDate, short toDate, ForEachTrendCount func ) : bool
callstack_uid int
fromDate short
toDate short
func ForEachTrendCount
Résultat bool

ReserveReparse() public static méthode

public static ReserveReparse ( int project_uid, int report_uid, string version ) : bool
project_uid int
report_uid int
version string
Résultat bool

UpdateCallstackState() public static méthode

public static UpdateCallstackState ( int callstack_uid, string state ) : bool
callstack_uid int
state string
Résultat bool

UpdateReportState() public static méthode

public static UpdateReportState ( int report_uid, int state ) : bool
report_uid int
state int
Résultat bool