C# Class Data.ProjectsDBManager

Afficher le fichier Open project: TelerikAcademy/QA-Academy

Méthodes publiques

Méthode 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 méthode

public static Delete ( int projectId ) : void
projectId int
Résultat void

GetAllProjects() public static méthode

public static GetAllProjects ( ) : IEnumerable
Résultat IEnumerable

GetBugsCountByProject() public static méthode

public static GetBugsCountByProject ( string projectName ) : int
projectName string
Résultat int

GetProjectByName() public static méthode

public static GetProjectByName ( string projtectName ) : Project
projtectName string
Résultat Project

GetProjectByProjectId() public static méthode

public static GetProjectByProjectId ( int projtectId ) : Project
projtectId int
Résultat Project

GetProjects() public static méthode

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

Insert() public static méthode

public static Insert ( Project project ) : int
project Project
Résultat int

Update() public static méthode

public static Update ( Project project ) : void
project Project
Résultat void