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 ComponentTypeFormController(IComponentRepository componentRepository, ICategoryRepository categoryRepository, IComponentTypeRepository componentTypeRepository, EmbeddedStockContext context) { _componentTypeRepository = componentTypeRepository; _categoryRepository = categoryRepository; _context = context; _componentRepository = componentRepository; }
public ComponentRepositories(ISession session) { this.session = session; this.componentRepo = new ComponentRepository(session); this.componentTypeRepo = new ComponentTypeRepository(session); this.repoInspector = new InspectorRepository(session); this.fileRepo = new FileRepository(session); }
public ComponentTypeController( IComponentTypeRepository componentTypeRepository, ICategoryRepository categoryRepository, IComponentTypeCategoryRepository componentTypeCategoryRepository) { _componentTypeRepository = componentTypeRepository; _categoryRepository = categoryRepository; _componentTypeCategoryRepository = componentTypeCategoryRepository; }
public ComponentTypeService(IComponentTypeRepository componentTypeRepository, IAssetCategoryService assetCategoryService, IAssetTypeService assetTypeService, IEmployeeService employeeService) { _componentTypeRepository = componentTypeRepository; _assetCategoryService = assetCategoryService; _assetTypeService = assetTypeService; _employeeService = employeeService; }
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); }
public ImportRepository(ISession session) { pipeRepo = new PipeRepository(session); plateRepo = new PlateRepository(session); heatRepo = new HeatRepository(session); railcarRepo = new RailcarRepository(session); releaseNoteRepo = new ReleaseNoteRepository(session); plateManufacturerRepo = new PlateManufacturerRepository(session); sizeTypeRepo = new MillPipeSizeTypeRepository(session); seamTypeRepo = new SeamTypeRepository(session); orderRepo = new PurchaseOrderRepository(session); fileRepo = new FileRepository(session); projectRepo = new ProjectRepository(session); portionRepo = new PortionRepository(session); jointRepo = new JointRepository(session); componentRepo = new ComponentRepository(session); spoolRepo = new SpoolRepository(session); componentTypeRepo = new ComponentTypeRepository(session); }
public ComponentTypeService(IComponentTypeRepository componentTypeRepository) { this.componentTypeRepository = componentTypeRepository; }
public ComponentFormController(EmbeddedStockContext context, IComponentTypeRepository typeDb) { _context = context; _typeDb = typeDb; }
public ComponentTypeService(IOptions <AppSettings> appSettings, IComponentTypeRepository componentTypeRepository) { _componentTypeRepository = componentTypeRepository; _appSettings = appSettings.Value; }
public CategoryController(IComponentTypeRepository componentTypeRepository, IServiceProvider serviceProvider) { _componentTypeRepository = componentTypeRepository; _context = serviceProvider.GetRequiredService <ApplicationDbContext>(); }
public ComponentTypeController(ApplicationDbContext context, IComponentTypeRepository repository) { _context = context; _repository = repository; }
public ComponentTypeController() { componentTypeRepository = new ComponentTypeRepository(); }
public UserRepository() { componentRepository = new ComponentRepository(); componentTypeRepository = new ComponentTypeRepository(); this._connectionString = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString; }
public ResultViewComponent(IComponentRepository compDb, ICategoryRepository catDb, IComponentTypeRepository typeDb) { _componentDb = compDb; _categoryDb = catDb; _typeDb = typeDb; }
public ComponentController(IComponentRepository componentRepository, IComponentTypeRepository componentTypeRepository) { _componentRepository = componentRepository; _componentTypeRepository = componentTypeRepository; }
public ResultViewComponent(IComponentRepository componentRepository, IComponentTypeRepository componentTypeRepository) { _componentRepository = componentRepository; _componentTypeRepository = componentTypeRepository; }