public FirstSetupRepo() { this.session = HibernateUtil.OpenSession(false); this.userRepo = new UserRepository(session); this.projectRepo = new ProjectRepository(session); this.certificateTypeRepo = new InspectorCertificateTypeRepository(session); this.seemTypeRepo = new SeamTypeRepository(session); this.permissionRepo = new PermissionRepository(session); this.roleRepo = new RoleRepository(session); this.categoryRepo = new CategoryRepository(session); this.jointOperationRepo = new JointOperationRepository(session); this.pipeTestsRepo = new PipeTestRepository(session); this.sizeTypeRepo = new MillPipeSizeTypeRepository(session); this.plateManRepo = new PlateManufacturerRepository(session); this.heatRepo = new HeatRepository(session); this.plateRepo = new PlateRepository(session); this.purchaseRepo = new PurchaseOrderRepository(session); this.railRepo = new RailcarRepository(session); this.pipeRepo = new PipeRepository(session); this.inspectorRepo = new InspectorRepository(session); this.pipeTestResultRepo = new PipeTestResultRepository(session); this.welderRepo = new WelderRepository(session); componentTypeRepo = new ComponentTypeRepository(session); componentRepo = new ComponentRepository(session); releaseRepo = new ReleaseNoteRepository(session); this.cannedMessageRepo = new CannedMessageRepository(session); }
public ConstructionRepository(ISession session) { this.session = session; this.repoJoint = new JointRepository(session); this.repoJointTestResult = new JointTestResultRepository(session); this.repoJointWeldResult = new JointWeldResultRepository(session); this.repoJointOperation = new JointOperationRepository(session); this.repoInspector = new InspectorRepository(session); this.repoWelder = new WelderRepository(session); this.repoPipe = new PipeRepository(session); this.repoSpool = new SpoolRepository(session); this.repoComponent = new ComponentRepository(session); this.fileRepo = new FileRepository(session); }
public MillRepository(ISession session) { this.session = session; this.repoPipe = new PipeRepository(session); this.repoPlate = new PlateRepository(session); this.repoHeat = new HeatRepository(session); this.repoWeld = new WeldRepository(session); this.repoPipeType = new MillPipeSizeTypeRepository(session); this.repoPurchaseOrder = new PurchaseOrderRepository(session); this.repoPipeTestResult = new PipeTestResultRepository(session); this.repoInspector = new InspectorRepository(session); this.repoPipeTest = new PipeTestRepository(session); this.welderRepo = new WelderRepository(session); this.repoProject = new ProjectRepository(session); this.fileRepo = new FileRepository(session); }
public SettingsRepositories(ISession session) { this.session = session; this.welderRepo = new WelderRepository(session); this.pipeTestRepo = new PipeTestRepository(session); this.pipeSizeTypeRepo = new MillPipeSizeTypeRepository(session); this.projectRepo = new ProjectRepository(session); this.manufacturerRepo = new PlateManufacturerRepository(session); this.inspectorRepo = new InspectorRepository(session); this.categoryRepo = new CategoryRepository(session); this.jointRepo = new JointOperationRepository(session); this.userRepo = new UserRepository(session); this.roleRepo = new RoleRepository(session); this.permissionRepo = new PermissionRepository(session); this.componentTypeRepo = new ComponentTypeRepository(session); this.certificateTypeRepo = new InspectorCertificateTypeRepository(session); this.seamTypeRepo = new SeamTypeRepository(session); }