C# Class Data.ProjectsDBManager

Datei anzeigen Open project: TelerikAcademy/QA-Academy

Public Methods

Method Description
Delete ( int projectId ) : void
GetAllProjects ( ) : IEnumerable
GetBugsCountByProject ( string projectName ) : int
GetProjectByName ( string projtectName ) : Project
GetProjectByProjectId ( int projtectId ) : Project
GetProjects ( int page, int pageSize, bool asc, string sortExpression, int &itemsCount ) : IEnumerable
Insert ( Project project ) : int
Update ( Project project ) : void

Method Details

Delete() public static method

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

GetAllProjects() public static method

public static GetAllProjects ( ) : IEnumerable
return IEnumerable

GetBugsCountByProject() public static method

public static GetBugsCountByProject ( string projectName ) : int
projectName string
return int

GetProjectByName() public static method

public static GetProjectByName ( string projtectName ) : Project
projtectName string
return Project

GetProjectByProjectId() public static method

public static GetProjectByProjectId ( int projtectId ) : Project
projtectId int
return Project

GetProjects() public static method

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

Insert() public static method

public static Insert ( Project project ) : int
project Project
return int

Update() public static method

public static Update ( Project project ) : void
project Project
return void