C# Class BinaryStudio.TaskManager.Logic.Core.HumanTaskRepository

The human task repository.
Inheritance: IHumanTaskRepository
Afficher le fichier Open project: dv00d00/BinaryStudio.TaskManager

Méthodes publiques

Méthode Description
Add ( HumanTask humanTask ) : void

The add new human task.

AddHistory ( HumanTaskHistory humanTaskHistory ) : void
Delete ( int humanTaskId ) : void

The delete.

GetAll ( ) : IEnumerable

The get all.

GetAllHistoryForTask ( int taskId ) : IList

The get all history for task.

GetAllHistoryForUser ( int userId ) : IList
GetAllTasksForEmployee ( int employeeId ) : IList

The get all tasks for employee.

GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
GetAllTasksInProject ( int projectId ) : IList

The get all tasks in project.

GetById ( int humanTaskId ) : HumanTask

The get by id.

GetForCreator ( int creatorId ) : IEnumerable

The get for creator.

GetPriorities ( ) : IQueryable
GetUnassingnedTasks ( ) : IList

The get unassingned tasks.

GetUnassingnedTasks ( int projectId ) : IList
HumanTaskRepository ( DataBaseContext dataBaseContext ) : System.Collections.Generic

Initializes a new instance of the HumanTaskRepository class.

Update ( HumanTask humanTask ) : void

The update.

Method Details

Add() public méthode

The add new human task.
public Add ( HumanTask humanTask ) : void
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask /// The human task. ///
Résultat void

AddHistory() public méthode

public AddHistory ( HumanTaskHistory humanTaskHistory ) : void
humanTaskHistory BinaryStudio.TaskManager.Logic.Domain.HumanTaskHistory
Résultat void

Delete() public méthode

The delete.
public Delete ( int humanTaskId ) : void
humanTaskId int /// The human task id. ///
Résultat void

GetAll() public méthode

The get all.
public GetAll ( ) : IEnumerable
Résultat IEnumerable

GetAllHistoryForTask() public méthode

The get all history for task.
public GetAllHistoryForTask ( int taskId ) : IList
taskId int /// The task id. ///
Résultat IList

GetAllHistoryForUser() public méthode

public GetAllHistoryForUser ( int userId ) : IList
userId int
Résultat IList

GetAllTasksForEmployee() public méthode

The get all tasks for employee.
public GetAllTasksForEmployee ( int employeeId ) : IList
employeeId int /// The employee id. ///
Résultat IList

GetAllTasksForUserInProject() public méthode

public GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int
userId int
Résultat IEnumerable

GetAllTasksInProject() public méthode

The get all tasks in project.
public GetAllTasksInProject ( int projectId ) : IList
projectId int /// The project id. ///
Résultat IList

GetById() public méthode

The get by id.
public GetById ( int humanTaskId ) : HumanTask
humanTaskId int /// The human task id. ///
Résultat BinaryStudio.TaskManager.Logic.Domain.HumanTask

GetForCreator() public méthode

The get for creator.
public GetForCreator ( int creatorId ) : IEnumerable
creatorId int /// The creator id. ///
Résultat IEnumerable

GetPriorities() public méthode

public GetPriorities ( ) : IQueryable
Résultat IQueryable

GetUnassingnedTasks() public méthode

The get unassingned tasks.
public GetUnassingnedTasks ( ) : IList
Résultat IList

GetUnassingnedTasks() public méthode

public GetUnassingnedTasks ( int projectId ) : IList
projectId int
Résultat IList

HumanTaskRepository() public méthode

Initializes a new instance of the HumanTaskRepository class.
public HumanTaskRepository ( DataBaseContext dataBaseContext ) : System.Collections.Generic
dataBaseContext BinaryStudio.TaskManager.Logic.Domain.DataBaseContext /// The data base context. ///
Résultat System.Collections.Generic

Update() public méthode

The update.
public Update ( HumanTask humanTask ) : void
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask /// The human task. ///
Résultat void