C# Class Browser.mod.DB

Show file Open project: NtreevSoft/Crashweb

Public Methods

Method 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

Method 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 method

public static InsertCallstackComment ( int callstack_uid, string author, string comment ) : bool
callstack_uid int
author string
comment string
return bool

LoadCallstack() public static method

public static LoadCallstack ( int callstack_uid, ForEachSinglestep func ) : bool
callstack_uid int
func ForEachSinglestep
return bool

LoadCallstackComment() public static method

public static LoadCallstackComment ( int callstack_uid, ForEachCallstackComment func ) : bool
callstack_uid int
func ForEachCallstackComment
return bool

LoadCallstackList() public static method

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
return bool

LoadCallstackPreview() public static method

public static LoadCallstackPreview ( int callstack_uid, string &callstack ) : bool
callstack_uid int
callstack string
return bool

LoadDailyCount() public static method

public static LoadDailyCount ( int project_uid, short fromDate, short toDate, ForEachDailyCount func ) : bool
project_uid int
fromDate short
toDate short
func ForEachDailyCount
return bool

LoadProject() public static method

public static LoadProject ( sProject>.Dictionary &projectList ) : bool
projectList sProject>.Dictionary
return bool

LoadReport() public static method

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
return bool

LoadReportDeleted() public static method

public static LoadReportDeleted ( int project_uid, ForEachCallstack func ) : bool
project_uid int
func ForEachCallstack
return bool

LoadSameReport() public static method

public static LoadSameReport ( int callstack_uid, ForEachCallstack func ) : bool
callstack_uid int
func ForEachCallstack
return bool

LoadTrendCount() public static method

public static LoadTrendCount ( int callstack_uid, short fromDate, short toDate, ForEachTrendCount func ) : bool
callstack_uid int
fromDate short
toDate short
func ForEachTrendCount
return bool

ReserveReparse() public static method

public static ReserveReparse ( int project_uid, int report_uid, string version ) : bool
project_uid int
report_uid int
version string
return bool

UpdateCallstackState() public static method

public static UpdateCallstackState ( int callstack_uid, string state ) : bool
callstack_uid int
state string
return bool

UpdateReportState() public static method

public static UpdateReportState ( int report_uid, int state ) : bool
report_uid int
state int
return bool