C# Класс BinaryStudio.TaskManager.Logic.Core.HumanTaskRepository

The human task repository.
Наследование: IHumanTaskRepository
Показать файл Открыть проект

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

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

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

Add() публичный Метод

The add new human task.
public Add ( HumanTask humanTask ) : void
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask /// The human task. ///
Результат void

AddHistory() публичный Метод

public AddHistory ( HumanTaskHistory humanTaskHistory ) : void
humanTaskHistory BinaryStudio.TaskManager.Logic.Domain.HumanTaskHistory
Результат void

Delete() публичный Метод

The delete.
public Delete ( int humanTaskId ) : void
humanTaskId int /// The human task id. ///
Результат void

GetAll() публичный Метод

The get all.
public GetAll ( ) : IEnumerable
Результат IEnumerable

GetAllHistoryForTask() публичный Метод

The get all history for task.
public GetAllHistoryForTask ( int taskId ) : IList
taskId int /// The task id. ///
Результат IList

GetAllHistoryForUser() публичный Метод

public GetAllHistoryForUser ( int userId ) : IList
userId int
Результат IList

GetAllTasksForEmployee() публичный Метод

The get all tasks for employee.
public GetAllTasksForEmployee ( int employeeId ) : IList
employeeId int /// The employee id. ///
Результат IList

GetAllTasksForUserInProject() публичный Метод

public GetAllTasksForUserInProject ( int projectId, int userId ) : IEnumerable
projectId int
userId int
Результат IEnumerable

GetAllTasksInProject() публичный Метод

The get all tasks in project.
public GetAllTasksInProject ( int projectId ) : IList
projectId int /// The project id. ///
Результат IList

GetById() публичный Метод

The get by id.
public GetById ( int humanTaskId ) : HumanTask
humanTaskId int /// The human task id. ///
Результат BinaryStudio.TaskManager.Logic.Domain.HumanTask

GetForCreator() публичный Метод

The get for creator.
public GetForCreator ( int creatorId ) : IEnumerable
creatorId int /// The creator id. ///
Результат IEnumerable

GetPriorities() публичный Метод

public GetPriorities ( ) : IQueryable
Результат IQueryable

GetUnassingnedTasks() публичный Метод

The get unassingned tasks.
public GetUnassingnedTasks ( ) : IList
Результат IList

GetUnassingnedTasks() публичный Метод

public GetUnassingnedTasks ( int projectId ) : IList
projectId int
Результат IList

HumanTaskRepository() публичный Метод

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. ///
Результат System.Collections.Generic

Update() публичный Метод

The update.
public Update ( HumanTask humanTask ) : void
humanTask BinaryStudio.TaskManager.Logic.Domain.HumanTask /// The human task. ///
Результат void