コード例 #1
0
 public UnitOfWork(IdentityDataContext db)
 {
     _db                = db;
     User               = new UserRepository(_db);
     InitiativeYear     = new InitiativeYearRepository(_db);
     Initiative         = new InitiativeRepository(_db);
     InitiativeMember   = new InitiativeMemberRepository(_db);
     ActionItem         = new ActionItemRepository(_db);
     ItemAssignee       = new ItemAssigneeRepository(_db);
     ReviewCycle        = new ReviewCycleRepository(_db);
     CommentItem        = new CommentItemRepository(_db);
     EvaluationCriteria = new EvaluationCriteriaRepository(_db);
     InitiativeMeeting  = new InitiativeMeetingRepository(_db);
 }
コード例 #2
0
 public ActionItemController()
 {
     actionItemRepository         = new ActionItemRepository();
     idGenerator                  = new IdGenerator();
     paymentInstructionRepository = new PaymentInstructionRepository();
 }