C# Класс Browser.mod.DB

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
DB ( ) : System
DelegateReport ( System.Data.SqlClient.SqlDataReader reader, ForEachCallstack func ) : void
GetRelativeTimeString ( System.DateTime dateTime ) : string
RemoveUnwantedChars ( string str ) : string

Описание методов

InsertCallstackComment() публичный статический Метод

public static InsertCallstackComment ( int callstack_uid, string author, string comment ) : bool
callstack_uid int
author string
comment string
Результат bool

LoadCallstack() публичный статический Метод

public static LoadCallstack ( int callstack_uid, ForEachSinglestep func ) : bool
callstack_uid int
func ForEachSinglestep
Результат bool

LoadCallstackComment() публичный статический Метод

public static LoadCallstackComment ( int callstack_uid, ForEachCallstackComment func ) : bool
callstack_uid int
func ForEachCallstackComment
Результат bool

LoadCallstackList() публичный статический Метод

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
Результат bool

LoadCallstackPreview() публичный статический Метод

public static LoadCallstackPreview ( int callstack_uid, string &callstack ) : bool
callstack_uid int
callstack string
Результат bool

LoadDailyCount() публичный статический Метод

public static LoadDailyCount ( int project_uid, short fromDate, short toDate, ForEachDailyCount func ) : bool
project_uid int
fromDate short
toDate short
func ForEachDailyCount
Результат bool

LoadProject() публичный статический Метод

public static LoadProject ( sProject>.Dictionary &projectList ) : bool
projectList sProject>.Dictionary
Результат bool

LoadReport() публичный статический Метод

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
Результат bool

LoadReportDeleted() публичный статический Метод

public static LoadReportDeleted ( int project_uid, ForEachCallstack func ) : bool
project_uid int
func ForEachCallstack
Результат bool

LoadSameReport() публичный статический Метод

public static LoadSameReport ( int callstack_uid, ForEachCallstack func ) : bool
callstack_uid int
func ForEachCallstack
Результат bool

LoadTrendCount() публичный статический Метод

public static LoadTrendCount ( int callstack_uid, short fromDate, short toDate, ForEachTrendCount func ) : bool
callstack_uid int
fromDate short
toDate short
func ForEachTrendCount
Результат bool

ReserveReparse() публичный статический Метод

public static ReserveReparse ( int project_uid, int report_uid, string version ) : bool
project_uid int
report_uid int
version string
Результат bool

UpdateCallstackState() публичный статический Метод

public static UpdateCallstackState ( int callstack_uid, string state ) : bool
callstack_uid int
state string
Результат bool

UpdateReportState() публичный статический Метод

public static UpdateReportState ( int report_uid, int state ) : bool
report_uid int
state int
Результат bool