示例#1
0
 public UnitOfWork(
     ProjectManagerContext dbContext,
     IUserRepository userRepository, IProjectRepository projectRepository, IProjectTaskRepository projectTaskRepository, IWorkTimeLogRepository workTimeLogRepository)
 {
     this._dbContext       = dbContext;
     UserRepository        = userRepository;
     ProjectRepository     = projectRepository;
     ProjectTaskRepository = projectTaskRepository;
     WorkTimeLogRepository = workTimeLogRepository;
 }
示例#2
0
 protected RepositoryBase(ProjectManagerContext dbContext)
 {
     this.dbContext = dbContext;
 }