C# 클래스 BinaryStudio.TaskManager.Logic.Core.ProjectRepository

The project repository.
상속: IProjectRepository
파일 보기 프로젝트 열기: dv00d00/BinaryStudio.TaskManager

공개 메소드들

메소드 설명
Add ( Project project ) : int

The add.

AddInvitation ( Invitation invitation ) : void
Delete ( int projectId ) : void

The delete.

DeleteInvitation ( Invitation invitation ) : void
GetAll ( ) : IEnumerable

The get all.

GetAllInvitationsForUser ( int userId ) : IEnumerable
GetAllInvitationsToProject ( int projectId ) : IEnumerable
GetAllProjectsForTheirCreator ( int userId ) : IEnumerable
GetAllProjectsForUser ( int userId ) : IEnumerable

The get all projects for user.

GetAllUsersInProject ( int projectId ) : IEnumerable

The get all users in project.

GetById ( int projectId ) : Project

The get by id.

GetCreatorForProject ( int pojectId ) : User
GetInvitationById ( int invitationId ) : Invitation
ProjectRepository ( DataBaseContext dataBaseContext ) : System.Collections.Generic

Initializes a new instance of the ProjectRepository class.

Update ( Project project ) : void

The update.

UpdateInvitation ( Invitation invitation ) : void

메소드 상세

Add() 공개 메소드

The add.
public Add ( Project project ) : int
project BinaryStudio.TaskManager.Logic.Domain.Project /// The project. ///
리턴 int

AddInvitation() 공개 메소드

public AddInvitation ( Invitation invitation ) : void
invitation BinaryStudio.TaskManager.Logic.Domain.Invitation
리턴 void

Delete() 공개 메소드

The delete.
public Delete ( int projectId ) : void
projectId int /// The project id. ///
리턴 void

DeleteInvitation() 공개 메소드

public DeleteInvitation ( Invitation invitation ) : void
invitation BinaryStudio.TaskManager.Logic.Domain.Invitation
리턴 void

GetAll() 공개 메소드

The get all.
public GetAll ( ) : IEnumerable
리턴 IEnumerable

GetAllInvitationsForUser() 공개 메소드

public GetAllInvitationsForUser ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

GetAllInvitationsToProject() 공개 메소드

public GetAllInvitationsToProject ( int projectId ) : IEnumerable
projectId int
리턴 IEnumerable

GetAllProjectsForTheirCreator() 공개 메소드

public GetAllProjectsForTheirCreator ( int userId ) : IEnumerable
userId int
리턴 IEnumerable

GetAllProjectsForUser() 공개 메소드

The get all projects for user.
public GetAllProjectsForUser ( int userId ) : IEnumerable
userId int /// The user id. ///
리턴 IEnumerable

GetAllUsersInProject() 공개 메소드

The get all users in project.
public GetAllUsersInProject ( int projectId ) : IEnumerable
projectId int /// The project id. ///
리턴 IEnumerable

GetById() 공개 메소드

The get by id.
public GetById ( int projectId ) : Project
projectId int /// The project id. ///
리턴 BinaryStudio.TaskManager.Logic.Domain.Project

GetCreatorForProject() 공개 메소드

public GetCreatorForProject ( int pojectId ) : User
pojectId int
리턴 BinaryStudio.TaskManager.Logic.Domain.User

GetInvitationById() 공개 메소드

public GetInvitationById ( int invitationId ) : Invitation
invitationId int
리턴 BinaryStudio.TaskManager.Logic.Domain.Invitation

ProjectRepository() 공개 메소드

Initializes a new instance of the ProjectRepository class.
public ProjectRepository ( DataBaseContext dataBaseContext ) : System.Collections.Generic
dataBaseContext BinaryStudio.TaskManager.Logic.Domain.DataBaseContext /// The data base context. ///
리턴 System.Collections.Generic

Update() 공개 메소드

The update.
public Update ( Project project ) : void
project BinaryStudio.TaskManager.Logic.Domain.Project /// The project. ///
리턴 void

UpdateInvitation() 공개 메소드

public UpdateInvitation ( Invitation invitation ) : void
invitation BinaryStudio.TaskManager.Logic.Domain.Invitation
리턴 void