示例#1
0
文件: UnitOfWork.cs 项目: 23swift/MAP
 public UnitOfWork()
 {
     RequestRepository          = new RequestRepository(_context);
     RequiredApprovalRepository = new RequiredApprovalRepository(_context);
     ApprovalSetupRepository    = new ApprovalSetupRepository(_context);
     MAEFRepository             = new MAEFRepository(_context);
 }
 public UnitOfWork()
 {
     RequestRepository          = new RequestRepository(_context);
     RequiredApprovalRepository = new RequiredApprovalRepository(_context);
     ApprovalSetupRepository    = new ApprovalSetupRepository(_context);
     MAEFRepository             = new MAEFRepository(_context);
     NewAffliationRepository    = new NewAffiliationRepository(_context);
     BranchRepository           = new BranchRepository(_context);
     LegalRepository            = new LegalRepository(_context);
 }