C# Class Data.BugsDBManager

显示文件 Open project: TelerikAcademy/QA-Academy

Public Methods

Method Description
Delete ( int bugId ) : void
GetBugByBugId ( int bugId ) : Bug
GetBugs ( int page, int pageSize, bool asc, string sortExpression, int &itemsCount ) : IEnumerable
GetBugsByProjectId ( int projectId, int page, int pageSize, bool asc, string sortExpression, bool showClosed, int &itemsCount ) : IEnumerable
Insert ( Bug bug ) : int
Update ( Bug bug ) : void

Method Details

Delete() public static method

public static Delete ( int bugId ) : void
bugId int
return void

GetBugByBugId() public static method

public static GetBugByBugId ( int bugId ) : Bug
bugId int
return Bug

GetBugs() public static method

public static GetBugs ( int page, int pageSize, bool asc, string sortExpression, int &itemsCount ) : IEnumerable
page int
pageSize int
asc bool
sortExpression string
itemsCount int
return IEnumerable

GetBugsByProjectId() public static method

public static GetBugsByProjectId ( int projectId, int page, int pageSize, bool asc, string sortExpression, bool showClosed, int &itemsCount ) : IEnumerable
projectId int
page int
pageSize int
asc bool
sortExpression string
showClosed bool
itemsCount int
return IEnumerable

Insert() public static method

public static Insert ( Bug bug ) : int
bug Bug
return int

Update() public static method

public static Update ( Bug bug ) : void
bug Bug
return void