コード例 #1
0
 static ConstructionChangeDirectiveService()
 {
     ConstructionChangeDirectiveService.unitOfWork = new UnitOfWork();
     ConstructionChangeDirectiveService.repository =
         RepositoryFactory.GetRepository
         <IConstructionChangeDirectiveRepository,
         ConstructionChangeDirective>(
         ConstructionChangeDirectiveService.unitOfWork);
 }
コード例 #2
0
 static ConstructionChangeDirectiveService()
 {
     ConstructionChangeDirectiveService.unitOfWork = new UnitOfWork();
     ConstructionChangeDirectiveService.repository =
         RepositoryFactory.GetRepository
         <IConstructionChangeDirectiveRepository,
          ConstructionChangeDirective>(
             ConstructionChangeDirectiveService.unitOfWork);
 }
コード例 #3
0
 public ConstructionChangeDirectiveRepositoryTest()
 {
     this.unitOfWork = new UnitOfWork();
     this.repository = RepositoryFactory.GetRepository<IConstructionChangeDirectiveRepository, ConstructionChangeDirective>(this.unitOfWork);
 }
 public ConstructionChangeDirectiveRepositoryTest()
 {
     this.unitOfWork = new UnitOfWork();
     this.repository = RepositoryFactory.GetRepository <IConstructionChangeDirectiveRepository, ConstructionChangeDirective>(this.unitOfWork);
 }