public GoalLogic(IUnitOfWork unit, IGoalRepository repo, ITargetRepository t, IActivityRepository a)
 {
     this.Unit    = unit;
     this.Repo    = repo;
     this.tRepo   = t;
     this.actRepo = a;
 }
Exemplo n.º 2
0
 public Synchronizer(ILogger logger, ISourceRepository sourceRepository, ITargetRepository targetRepository, IMergeStrategy mergeStrategy)
 {
     _logger           = logger;
     _sourceRepository = sourceRepository;
     _targetRepository = targetRepository;
     _mergeStrategy    = mergeStrategy;
 }
 public GoalLogic(IUnitOfWork unit, IGoalRepository repo, ITargetRepository t, IActivityRepository a)
 {
     this.Unit = unit;
     this.Repo = repo;
     this.tRepo = t;
     this.actRepo = a;
 }
Exemplo n.º 4
0
 public ReportService(ITargetRepository targetRepository,
                      ITransactionRepository transactionRepository,
                      IProductRepository productRepository)
 {
     this.targetRepository      = targetRepository;
     this.transactionRepository = transactionRepository;
     this.productRepository     = productRepository;
 }
Exemplo n.º 5
0
 public void Setup()
 {
     _resolver         = MockRepository.GenerateStub <IParserResolver>();
     _targetRepository = MockRepository.GenerateStub <ITargetRepository>();
     _subject          = new TargetParser(_resolver, _targetRepository);
     _resolver.Stub(x => x.Resolve("call")).Return(new UnkownTypeParser());
     _targetXml = XElement.Parse("<target name=\"basic\" depends=\"clean, compile\"><call target=\"mainbuild\"/></target>");
 }
Exemplo n.º 6
0
 public void Setup()
 {
     _resolver = MockRepository.GenerateStub<IParserResolver>();
     _targetRepository = MockRepository.GenerateStub<ITargetRepository>();
     _subject = new TargetParser(_resolver, _targetRepository);
     _resolver.Stub(x => x.Resolve("call")).Return(new UnkownTypeParser());
     _targetXml = XElement.Parse("<target name=\"basic\" depends=\"clean, compile\"><call target=\"mainbuild\"/></target>");
 }
Exemplo n.º 7
0
 public TagTargetManager(
     ITagRepository tagRepository,
     ITargetRepository targetRepository,
     ITagTargetRepository tagTargetRepository)
 {
     this.tagRepository       = tagRepository;
     this.targetRepository    = targetRepository;
     this.tagTargetRepository = tagTargetRepository;
 }
 public AttainmentLogic(IUnitOfWork unit, IAttainmentRepository repo, IBadgeRepository b, IActivityRepository a, ITargetRepository t, ITeamLogic teamLogic)
 {
     this.Unit = unit;
     this.Repo = repo;
     this.bRepo = b;
     this.actRepo = a;
     this.tRepo = t;
     this.teamLogic = teamLogic;
 }
 public AttainmentLogic(IUnitOfWork unit, IAttainmentRepository repo, IBadgeRepository b, IActivityRepository a, ITargetRepository t, ITeamLogic teamLogic)
 {
     this.Unit      = unit;
     this.Repo      = repo;
     this.bRepo     = b;
     this.actRepo   = a;
     this.tRepo     = t;
     this.teamLogic = teamLogic;
 }
Exemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnitOfWork"/> class.
 /// </summary>
 /// <param name="contextParam">The context parameter.</param>
 /// <param name="organizationsListRepositoryParam">The organizations list repository parameter.</param>
 public UnitOfWork(FundTrackContext contextParam,
                   IOrganizationsForFilteringRepository organizationsListRepositoryParam,
                   IUserResporitory userListRepositoryParam,
                   IEventManagementRepository eventRepository,
                   IOrganizationRepository organizationRepository,
                   IMembershipRepository membershipRepositoryParam,
                   IRepository <Address> addressRepository,
                   IRepository <OrgAddress> orgAddressRepository,
                   IRepository <BankAccount> bankAccountRepository,
                   IRequestedItemRepository requestedItemRepository,
                   IRepository <Role> roleRepository,
                   IRepository <EventImage> eventImageRepositoryParam,
                   IRepository <OfferedItem> offeredItemRepository,
                   IStatusRepository statusRepository,
                   IUserResponseRepository userResponseRepository,
                   IGoodsCategoryRepository goodsCategoryRepository,
                   IRequestedItemImageRepository requestedItemImageRepository,
                   IGoodsTypeRepository goodsTypeRepository,
                   IOfferImagesRepository offeredItemImageRepository,
                   IBankImportDetailRepository bankImportDetailRepository,
                   IOrganizationAccountRepository organizationAccountRepository,
                   IRepository <Currency> currencyRepository,
                   ITargetRepository targetRepository,
                   IDonationRepository donationRepository,
                   IFinOpRepository finOpRepository,
                   IPhoneRepository phoneRepository,
                   IRepository <FinOpImage> finOpImagesRepository
                   )
 {
     this._context = contextParam;
     this._organizationsListRepository = organizationsListRepositoryParam;
     this._usersListRepository         = userListRepositoryParam;
     this._membershipRepository        = membershipRepositoryParam;
     _eventRepository               = eventRepository;
     _organizationRepository        = organizationRepository;
     _addressRepository             = addressRepository;
     _orgAddressRepository          = orgAddressRepository;
     _bankAccountRepository         = bankAccountRepository;
     _roleRepository                = roleRepository;
     _eventImageRepository          = eventImageRepositoryParam;
     _offeredItemRepository         = offeredItemRepository;
     _goodsCategoryRepository       = goodsCategoryRepository;
     _userResponseRepository        = userResponseRepository;
     _requestedItemRepository       = requestedItemRepository;
     _statusRepository              = statusRepository;
     _requestedItemImageRepository  = requestedItemImageRepository;
     _goodsTypeRepository           = goodsTypeRepository;
     _offeredItemImageRepository    = offeredItemImageRepository;
     _bankImportDetailRepository    = bankImportDetailRepository;
     _organizationAccountRepository = organizationAccountRepository;
     _currencyRepository            = currencyRepository;
     _targetRepository              = targetRepository;
     _donationRepository            = donationRepository;
     _finOpRepository               = finOpRepository;
     this._phoneRepository          = phoneRepository;
     _finOpImagesRepository         = finOpImagesRepository;
 }
Exemplo n.º 11
0
 public QueryHandler(IFirewallRuleRepository repository,
                     IMapper mapper,
                     ITargetRepository targetRepository,
                     IParser parser)
 {
     _repository       = repository;
     _mapper           = mapper;
     _targetRepository = targetRepository;
     _parser           = parser;
 }
Exemplo n.º 12
0
 public QueryHandler(ITargetRepository repository,
                     IHTTPLogRepository logRepository,
                     IRuleLogRepository ruleLogRepository,
                     IMapper mapper)
 {
     _repository        = repository;
     _logRepository     = logRepository;
     _ruleLogRepository = ruleLogRepository;
     _mapper            = mapper;
 }
Exemplo n.º 13
0
 public TargetViewModelBuilder(
 ITargetPeriodRepository targetPeriodRepository,
 ICostCentreRepository costCentreRepository,
 IProductRepository productRepository,
     ITargetRepository targetRepository)
 {
     _productRepository = productRepository;
     _costCentreRepository = costCentreRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _targeteRepository = targetRepository;
 }
Exemplo n.º 14
0
 public TargetController(
     ITargetRepository targetRepository,
     IOperationsRepository operationRepository,
     IHubContext <NotificationHub> notificationHub,
     IMapper mapper
     )
 {
     _targetRepository    = targetRepository;
     _operationRepository = operationRepository;
     _notificationHub     = notificationHub;
     _mapper = mapper;
 }
Exemplo n.º 15
0
 public HierarchyService(
     IHierarchyDataProvider hierarchyDataProvider, 
     IHierarchyEntryRepository  hierarchyEntryRepository,
     ITargetEntryRepository targetEntryRepository,
     ITargetRepository targetRepository,
     List<Type> targetTypes)
 {
     hierarchyEntryDataProvider = hierarchyDataProvider;
     hierarchyEntryEntryRepository = hierarchyEntryRepository;
     _targetEntryRepository = targetEntryRepository;
     _targetRepository = targetRepository;
     _targetTypes = targetTypes;
 }
Exemplo n.º 16
0
 public HierarchyService(
     IHierarchyDataProvider hierarchyDataProvider,
     IHierarchyEntryRepository hierarchyEntryRepository,
     ITargetEntryRepository targetEntryRepository,
     ITargetRepository targetRepository,
     List <Type> targetTypes)
 {
     hierarchyEntryDataProvider    = hierarchyDataProvider;
     hierarchyEntryEntryRepository = hierarchyEntryRepository;
     _targetEntryRepository        = targetEntryRepository;
     _targetRepository             = targetRepository;
     _targetTypes = targetTypes;
 }
Exemplo n.º 17
0
 public HandleMasterData(IMasterDataEntityResolver masterDataEntityResolver, ICostCentreRepository costCentreRepository, IContactRepository contactRepository, IAssetRepository assetRepository, IDistributrFileRepository distributrFileRepository, IOutletVisitDayRepository outletVisitDayRepository, IOutletPriorityRepository outletPriorityRepository, ITargetRepository targetRepository, IUserRepository userRepository, ISettingsRepository settingsRepository, IInventorySerialsRepository inventorySerialsRepository)
 {
     _masterDataEntityResolver = masterDataEntityResolver;
     _costCentreRepository = costCentreRepository;
     _contactRepository = contactRepository;
     _assetRepository = assetRepository;
     _distributrFileRepository = distributrFileRepository;
     _outletVisitDayRepository = outletVisitDayRepository;
     _outletPriorityRepository = outletPriorityRepository;
     _targetRepository = targetRepository;
     _userRepository = userRepository;
     _settingsRepository = settingsRepository;
     _inventorySerialsRepository = inventorySerialsRepository;
 }
Exemplo n.º 18
0
 public EntityUsage(List<Order> salesmanOrders, ITargetRepository targetRepository, IInventoryRepository inventoryRepository, IOrderRepository orderRepository, 
     IInvoiceRepository invoiceRepository, IReceiptRepository receiptRepository, ICreditNoteRepository creditNoteRepository,
     IDispatchNoteRepository dispatchNoteRepository
     )
 {
     _dispatchNoteRepository = dispatchNoteRepository;
     _salesmanOrders = salesmanOrders;
     _targetRepository = targetRepository;
     _inventoryRepository = inventoryRepository;
     _orderRepository = orderRepository;
     _invoiceRepository = invoiceRepository;
     _receiptRepository = receiptRepository;
     _creditNoteRepository = creditNoteRepository;
     OrderPaymentInfos = new List<InvoicePaymentInfo>();
 }
Exemplo n.º 19
0
 public TargetService(
     ICrudRepository <Target, TargetDto> targetRepository,
     IUserService userService,
     ILogger <TargetService> logger,
     ICrudRepository <HealthCheck, HealthCheckDto> healthRepository,
     IMapper mapper,
     IBackgroundJobService jobService,
     ITargetRepository targetUpdateRepository)
 {
     _targetRepository       = targetRepository;
     _userService            = userService;
     _logger                 = logger;
     _healthRepository       = healthRepository;
     _mapper                 = mapper;
     _jobService             = jobService;
     _targetUpdateRepository = targetUpdateRepository;
 }
 public DistributorServicesController(IOutletRepository outletRepository, ICostCentreFactory costCentreFactory, ICostCentreRepository costCentreRepository, IRouteRepository routeRepository, IOutletCategoryRepository outletCategoryRepository, IOutletTypeRepository outletTypeRepository, IOutletVisitDayRepository outletVisitDayRepository, IOutletPriorityRepository outletPriorityRepository, IProductPricingTierRepository productPricingTierRepository, IVATClassRepository vatClassRepository, IDiscountGroupRepository discountGroupRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IUserRepository userRepository, IDistributorSalesmanRepository distributorSalesmanRepository, ISalesmanRouteRepository salesmanRouteRepository, IContactRepository contactRepository, IContactTypeRepository contactTypeRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, IRegionRepository regionRepository, IPurchasingClerkRepository purchasingClerkRepository, IPurchasingClerkRouteRepository purchasingClerkRouteRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityProducerRepository commodityProducerRepository, IMasterDataAllocationRepository masterDataAllocationRepository, ICommodityOwnerRepository commodityOwnerRepository, ICentreRepository centreRepository, IStoreRepository storeRepository, IVehicleRepository vehicleRepository, IEquipmentRepository equipmentRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ITransactionsSummary transactionsSummary, IPgRepositoryHelper pgRepository)
 {
     _outletRepository = outletRepository;
     _costCentreFactory = costCentreFactory;
     _costCentreRepository = costCentreRepository;
     _routeRepository = routeRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _outletTypeRepository = outletTypeRepository;
     _outletVisitDayRepository = outletVisitDayRepository;
     _outletPriorityRepository = outletPriorityRepository;
     _productPricingTierRepository = productPricingTierRepository;
     _vatClassRepository = vatClassRepository;
     _discountGroupRepository = discountGroupRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _targetRepository = targetRepository;
     _userRepository = userRepository;
     _distributorSalesmanRepository = distributorSalesmanRepository;
     _salesmanRouteRepository = salesmanRouteRepository;
     _contactRepository = contactRepository;
     _contactTypeRepository = contactTypeRepository;
     _bankRepository = bankRepository;
     _bankBranchRepository = bankBranchRepository;
     _regionRepository = regionRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _masterDataAllocationRepository = masterDataAllocationRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _storeRepository = storeRepository;
     _vehicleRepository = vehicleRepository;
     _equipmentRepository = equipmentRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _transactionsSummary = transactionsSummary;
     _pgRepository = pgRepository;
 }
Exemplo n.º 21
0
        public InsertPHDTestData(IOutletPriorityRepository outletPriorityRepository,
         IOutletVisitDayRepository outletVisitDayRepository, IProductDiscountGroupFactory productDiscountGroupFactory,
         ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory,
         ICustomerDiscountFactory customerDiscountFactory,
         IPromotionDiscountFactory promotionDiscountFactory,
         IProductDiscountGroupRepository productDiscountGroupRepository,
         IPromotionDiscountRepository promotionDiscountRepository,
         IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository,
         ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository,IDiscountGroupRepository discountGroupRepository,IAssetStatusRepository assetStatusRepository,
        IAssetCategoryRepository assetCategoryRepository,
IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository, IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository, IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository, IProducerRepository producerRepository,  IDocumentFactory documentFactory, ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository, IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository,  ITerritoryRepository territoryRepository,    IAreaRepository areaRepository, IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository, IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository, ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository, ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository, IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory, ISaleValueDiscountRepository saleValueDiscountRepository/*, IContainmentRepository containmentRepository*/, ISalesmanRouteRepository salesmanRouteRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository,IContactTypeRepository contactTypeRepository)
        {
            _productTypeRepository = productTypeRepository;
            _productBrandRepository = productBrandRepository;
            _productFlavourRepository = productFlavourRepository;
            _productPackagingRepository = productPackagingRepository;
            _productPackagingTypeRepository = productPackagingTypeRepository;
            _productRepository = productRepository;
            _regionRepository = regionRepository;
            _costCentreRepository = costCentreRepository;
            _costCentreFactory = costCentreFactory;
            _pricingRepository = pricingRepository;
            _vatClassRepository = vatClassRepository;
            _vatClassFactory = vatClassFactory;
            _countryRepository = countryRepository;
            _productPricingFactory = productPricingFactory;
            _ProductPricingTierRepository = productPricingTierRepository;
            _outletTypeRepository = outletTypeRepository;
            _userRepository = userRepository;
            _outletRepository = outletRepository;
            _routeRepository = routeRepository;
            _routeFactory = routeFactory;
            _transporterRepository = transporterRepository;
            _productFactory = productFactory;
            _distributorSalesmanRepository = distributorSalesmanRepository;
            _producerRepository = producerRepository;
            _documentFactory = documentFactory;
            _socioEconomicStatusRepository = socioEconomicStatusRepository;
            _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository;
            _distributorrepository = distributorrepository;
            _outletCategoryRepository = outletCategoryRepository;
            _territoryRepository = territoryRepository;
            
            _areaRepository = areaRepository;
            _contactRepository = contactRepository;
            _accountRepository = accountRepository;
            _accountTransactionRepository = accountTransactionRepository;
            _inventoryRepository = inventoryRepository;
            _inventoryTransactionRepository = inventoryTransactionRepository;
            _costCentreApplicationRepository = costCentreApplicationRepository;
            _channelPackagingRepository = channelPackagingRepository;
            _competitorRepository = competitorRepository;
            _competitorProductRepository = competitorProductRepository;
            _coolerRepository = coolerRepository;
            _coolerTypeRepository = coolerTypeRepository;
            _districtRepository = districtRepository;
            _provinceRepository = provinceRepository;
            _reorderLevelRepository = reorderLevelRepository;
            _targetPeriodRepository = targetPeriodRepository;
            _targetRepository = targetRepository;
            _productDiscountFactory = productDiscountFactory;
            _productDiscountRepository = productDiscountRepository;
            _saleValueDiscountFactory = saleValueDiscountFactory;
            _saleValueDiscountRepository = saleValueDiscountRepository;
            //_containmentRepository = containmentRepository;
            _salesmanRouteRepository = salesmanRouteRepository;
            _userGroupRepository = userGroupRepository;
            _userGroupRolesRepository = userGroupRolesRepository;
           
            _contactTypeRepository = contactTypeRepository;
            _assetCategoryRepository = assetCategoryRepository;
            _assetStatusRepository = assetStatusRepository;
            _discountGroupRepository = discountGroupRepository; 
            _discountGroupRepository = discountGroupRepository;
            _productDiscountGroupFactory = productDiscountGroupFactory;
            _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory;
            _customerDiscountFactory = customerDiscountFactory;
            _promotionDiscountFactory = promotionDiscountFactory;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
            _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
            _outletPriorityRepository = outletPriorityRepository;
            _outletVisitDayRepository = outletVisitDayRepository;

        }
Exemplo n.º 22
0
 public TargetService(ITargetRepository repository)
 {
     Repository = repository ?? throw new System.ArgumentNullException(nameof(repository));
 }
Exemplo n.º 23
0
 public TargetParser(IParserResolver resolver, ITargetRepository targetRepository)
 {
     _resolver = resolver;
     _targetRepository = targetRepository;
 }
Exemplo n.º 24
0
 public TargetSvcController(ITargetRepository aTarRepo)
 {
     TarRepo = aTarRepo;
 }
Exemplo n.º 25
0
 public QueryHandler(ITargetRepository repository)
 {
     _repository = repository;
 }
        //protected IBankRepository _bankRepository;
        //protected IBankBranchRepository _bankBranchRepository;
        #region Constructors
        public InsertDeploymentData(IOutletPriorityRepository outletPriorityRepository,
                                    IOutletVisitDayRepository outletVisitDayRepository, IAssetStatusRepository assetStatusRepository,
                                    IAssetCategoryRepository assetCategoryRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, ISalesmanRouteRepository salesmanRouteRepository, ISalesmanSupplierRepository salesmanSupplierRepository, IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository,
                                    IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository,
                                    IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository,
                                    IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository,
                                    IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository,
                                    IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository,
                                    IProducerRepository producerRepository, IDocumentFactory documentFactory,
                                    ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository,
                                    IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository,
                                    ITerritoryRepository territoryRepository,
                                    IAreaRepository areaRepository,
                                    IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository,
                                    IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository,
                                    ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository,
                                    ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository,
                                    IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository,
                                    IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository,
                                    IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory,
                                    ISaleValueDiscountRepository saleValueDiscountRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository,
                                    ISupplierRepository supplierRepository, ICreatePaymentNoteCommandHandler createLossCommandHandler, IAddPaymentNoteLineItemCommandHandler addLossLineItemCommandHandler, IConfirmPaymentNoteCommandHandler confirmLossCommandHandler,
                                    IContactTypeRepository contactTypeRepository, IDiscountGroupRepository discountGroupRepository, IProductDiscountGroupFactory productDiscountGroupFactory,
                                    ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory,
                                    ICustomerDiscountFactory customerDiscountFactory,
                                    IPromotionDiscountFactory promotionDiscountFactory,
                                    IProductDiscountGroupRepository productDiscountGroupRepository,
                                    IPromotionDiscountRepository promotionDiscountRepository,
                                    IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository,
                                    ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository, ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository
                                    )
        {
            _productTypeRepository          = productTypeRepository;
            _productBrandRepository         = productBrandRepository;
            _productFlavourRepository       = productFlavourRepository;
            _productPackagingRepository     = productPackagingRepository;
            _productPackagingTypeRepository = productPackagingTypeRepository;
            _productRepository            = productRepository;
            _regionRepository             = regionRepository;
            _costCentreRepository         = costCentreRepository;
            _costCentreFactory            = costCentreFactory;
            _pricingRepository            = pricingRepository;
            _vatClassRepository           = vatClassRepository;
            _vatClassFactory              = vatClassFactory;
            _countryRepository            = countryRepository;
            _productPricingFactory        = productPricingFactory;
            _ProductPricingTierRepository = productPricingTierRepository;
            _outletTypeRepository         = outletTypeRepository;
            _userRepository                    = userRepository;
            _outletRepository                  = outletRepository;
            _routeRepository                   = routeRepository;
            _routeFactory                      = routeFactory;
            _transporterRepository             = transporterRepository;
            _productFactory                    = productFactory;
            _distributorSalesmanRepository     = distributorSalesmanRepository;
            _producerRepository                = producerRepository;
            _documentFactory                   = documentFactory;
            _socioEconomicStatusRepository     = socioEconomicStatusRepository;
            _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository;
            _distributorrepository             = distributorrepository;
            _outletCategoryRepository          = outletCategoryRepository;
            _territoryRepository               = territoryRepository;
            _areaRepository                    = areaRepository;
            _contactRepository                 = contactRepository;
            _accountRepository                 = accountRepository;
            _accountTransactionRepository      = accountTransactionRepository;
            _inventoryRepository               = inventoryRepository;
            _inventoryTransactionRepository    = inventoryTransactionRepository;
            _costCentreApplicationRepository   = costCentreApplicationRepository;
            _channelPackagingRepository        = channelPackagingRepository;
            _competitorRepository              = competitorRepository;
            _competitorProductRepository       = competitorProductRepository;
            _coolerRepository                  = coolerRepository;
            _coolerTypeRepository              = coolerTypeRepository;
            _districtRepository                = districtRepository;
            _provinceRepository                = provinceRepository;
            _reorderLevelRepository            = reorderLevelRepository;
            _targetPeriodRepository            = targetPeriodRepository;
            _targetRepository                  = targetRepository;
            _productDiscountFactory            = productDiscountFactory;
            _productDiscountRepository         = productDiscountRepository;
            _saleValueDiscountFactory          = saleValueDiscountFactory;
            _saleValueDiscountRepository       = saleValueDiscountRepository;
            _salesmanRouteRepository           = salesmanRouteRepository;
            _salesmanSupplierRepository        = salesmanSupplierRepository;
            _userGroupRepository               = userGroupRepository;
            _userGroupRolesRepository          = userGroupRolesRepository;
            _bankRepository                    = bankRepository;
            _bankBranchRepository              = bankBranchRepository;
            _supplierRepository                = supplierRepository;
            _createLossCommandHandler          = createLossCommandHandler;
            _addLossLineItemCommandHandler     = addLossLineItemCommandHandler;
            _confirmLossCommandHandler         = confirmLossCommandHandler;

            _contactTypeRepository       = contactTypeRepository;
            _assetCategoryRepository     = assetCategoryRepository;
            _assetStatusRepository       = assetStatusRepository;
            _discountGroupRepository     = discountGroupRepository;
            _productDiscountGroupFactory = productDiscountGroupFactory;
            _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory;
            _customerDiscountFactory        = customerDiscountFactory;
            _promotionDiscountFactory       = promotionDiscountFactory;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _promotionDiscountRepository    = promotionDiscountRepository;
            _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
            _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
            _outletPriorityRepository = outletPriorityRepository;
            _outletVisitDayRepository = outletVisitDayRepository;
            _targetItemRepository     = targetItemRepository;
            _settingsRepository       = settingsRepository;
        }
Exemplo n.º 27
0
        //protected IBankRepository _bankRepository;
        //protected IBankBranchRepository _bankBranchRepository;
        #region Constructors

        public InsertTestData(IOutletVisitReasonsTypeRepository visitReasonsTypeRepository,IActivityTypeRepository activityTypeRepository,IContainerTypeRepository containerTypeRepository, IRetireDocumentSettingRepository retireDocumentSettingRepository, IOutletPriorityRepository outletPriorityRepository,
        IOutletVisitDayRepository outletVisitDayRepository, IAssetStatusRepository assetStatusRepository,
        IAssetCategoryRepository assetCategoryRepository, IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, ISalesmanRouteRepository salesmanRouteRepository, IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository, IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreFactory costCentreFactory, IProductPricingRepository pricingRepository,
        IVATClassRepository vatClassRepository, IVATClassFactory vatClassFactory, ICountryRepository countryRepository,
        IProductPricingFactory productPricingFactory, IProductPricingTierRepository productPricingTierRepository,
        IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository,
        IRouteRepository routeRepository, IRouteFactory routeFactory, ITransporterRepository transporterRepository,
        IProductFactory productFactory, IDistributorSalesmanRepository distributorSalesmanRepository,
        IProducerRepository producerRepository,  IDocumentFactory documentFactory,
        ISocioEconomicStatusRepository socioEconomicStatusRepository, IClientMasterDataTrackerRepository clientMasterDataTrackerRepository,
        IDistributorRepository distributorrepository, IOutletCategoryRepository outletCategoryRepository, 
        ITerritoryRepository territoryRepository, 
         IAreaRepository areaRepository,
        IContactRepository contactRepository, IAccountRepository accountRepository, IAccountTransactionRepository accountTransactionRepository,
        IInventoryRepository inventoryRepository, IInventoryTransactionRepository inventoryTransactionRepository,
        ICostCentreApplicationRepository costCentreApplicationRepository, IChannelPackagingRepository channelPackagingRepository,
        ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductRepository, IAssetRepository coolerRepository,
        IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository,
        IReOrderLevelRepository reorderLevelRepository, ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository,
        IProductDiscountFactory productDiscountFactory, IProductDiscountRepository productDiscountRepository, ISaleValueDiscountFactory saleValueDiscountFactory,
        ISaleValueDiscountRepository saleValueDiscountRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository,
        ISupplierRepository supplierRepository, ICreatePaymentNoteCommandHandler createLossCommandHandler, IAddPaymentNoteLineItemCommandHandler addLossLineItemCommandHandler, IConfirmPaymentNoteCommandHandler confirmLossCommandHandler,
        IContactTypeRepository contactTypeRepository, IDiscountGroupRepository discountGroupRepository, IProductDiscountGroupFactory productDiscountGroupFactory,
        ICertainValueCertainProductDiscountFactory certainValueCertainProductDiscountFactory,
        ICustomerDiscountFactory customerDiscountFactory,
        IPromotionDiscountFactory promotionDiscountFactory,
        IProductDiscountGroupRepository productDiscountGroupRepository,
        IPromotionDiscountRepository promotionDiscountRepository,
        IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository,
        ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository,
        ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository, 
        ICentreRepository centreRepository, ICentreTypeRepository centreTypeRepository, 
        ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, 
        ICommodityOwnerRepository commodityOwnerRepository, ICommodityProducerRepository commodityProducerRepository, 
        ICommodityRepository commodityRepository, ICommodityTypeRepository commodityTypeRepository,
        IEquipmentRepository equipmentRepository, IMasterDataAllocationRepository masterDataAllocationRepository,IVehicleRepository vehicleRepository,IHubRepository hubRepository,
        IPurchasingClerkRouteRepository purchasingClerkRouteRepository,IInfectionRepository infectionRepository,ISeasonRepository seasonRepository,IServiceProviderRepository serviceProviderRepository,IServiceRepository serviceRepository,IShiftRepository shiftRepository,ISalesmanSupplierRepository salesmanSupplierRepository
            )
        {
            _salesmanSupplierRepository = salesmanSupplierRepository;
            _productTypeRepository = productTypeRepository;
            _productBrandRepository = productBrandRepository;
            _productFlavourRepository = productFlavourRepository;
            _productPackagingRepository = productPackagingRepository;
            _productPackagingTypeRepository = productPackagingTypeRepository;
            _productRepository = productRepository;
            _regionRepository = regionRepository;
            _costCentreRepository = costCentreRepository;
            _costCentreFactory = costCentreFactory;
            _pricingRepository = pricingRepository;
            _vatClassRepository = vatClassRepository;
            _vatClassFactory = vatClassFactory;
            _countryRepository = countryRepository;
            _productPricingFactory = productPricingFactory;
            _ProductPricingTierRepository = productPricingTierRepository;
            _outletTypeRepository = outletTypeRepository;
            _userRepository = userRepository;
            _outletRepository = outletRepository;
            _routeRepository = routeRepository;
            _routeFactory = routeFactory;
            _transporterRepository = transporterRepository;
            _productFactory = productFactory;
            _distributorSalesmanRepository = distributorSalesmanRepository;
            _producerRepository = producerRepository;
            _documentFactory = documentFactory;
            _socioEconomicStatusRepository = socioEconomicStatusRepository;
            _clientMasterDataTrackerRepository = clientMasterDataTrackerRepository;
            _distributorrepository = distributorrepository;
            _outletCategoryRepository = outletCategoryRepository;
            //_createOrderCommandHandler = createOrderCommandHandler;
            _territoryRepository = territoryRepository;
            _areaRepository = areaRepository;
            _contactRepository = contactRepository;
            _accountRepository = accountRepository;
            _accountTransactionRepository = accountTransactionRepository;
            _inventoryRepository = inventoryRepository;
            _inventoryTransactionRepository = inventoryTransactionRepository;
            _costCentreApplicationRepository = costCentreApplicationRepository;
            _channelPackagingRepository = channelPackagingRepository;
            _competitorRepository = competitorRepository;
            _competitorProductRepository = competitorProductRepository;
            _coolerRepository = coolerRepository;
            _coolerTypeRepository = coolerTypeRepository;
            _districtRepository = districtRepository;
            _provinceRepository = provinceRepository;
            _reorderLevelRepository = reorderLevelRepository;
            _targetPeriodRepository = targetPeriodRepository;
            _targetRepository = targetRepository;
            _productDiscountFactory = productDiscountFactory;
            _productDiscountRepository = productDiscountRepository;
            _saleValueDiscountFactory = saleValueDiscountFactory;
            _saleValueDiscountRepository = saleValueDiscountRepository;
            _salesmanRouteRepository = salesmanRouteRepository;
            _userGroupRepository = userGroupRepository;
            _userGroupRolesRepository = userGroupRolesRepository;
            _bankRepository = bankRepository;
            _bankBranchRepository = bankBranchRepository;
            _supplierRepository = supplierRepository;
            _createLossCommandHandler = createLossCommandHandler;
            _addLossLineItemCommandHandler = addLossLineItemCommandHandler;
            _confirmLossCommandHandler = confirmLossCommandHandler;
           
            _contactTypeRepository = contactTypeRepository;
            _assetCategoryRepository = assetCategoryRepository;
            _assetStatusRepository = assetStatusRepository;
            _discountGroupRepository = discountGroupRepository;
            _productDiscountGroupFactory = productDiscountGroupFactory;
            _certainValueCertainProductDiscountFactory = certainValueCertainProductDiscountFactory;
            _customerDiscountFactory = customerDiscountFactory;
            _promotionDiscountFactory = promotionDiscountFactory;
            _productDiscountGroupRepository = productDiscountGroupRepository;
            _promotionDiscountRepository = promotionDiscountRepository;
            _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
            _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
            _outletPriorityRepository = outletPriorityRepository;
            _outletVisitDayRepository = outletVisitDayRepository;
            _targetItemRepository = targetItemRepository;
            _settingsRepository = settingsRepository;
            _retireDocumentSettingRepository = retireDocumentSettingRepository;
            _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
            _commodityOwnerRepository = commodityOwnerRepository;
            _commoditySupplierRepository = commoditySupplierRepository;
            _centreTypeRepository = centreTypeRepository;
            _centreRepository = centreRepository;
            _commodityProducerRepository = commodityProducerRepository;
            _commodityRepository = commodityRepository;
            _commodityTypeRepository = commodityTypeRepository;
            _equipmentRepository = equipmentRepository;
            _masterDataAllocationRepository = masterDataAllocationRepository;
            _containerTypeRepository = containerTypeRepository;
            _hubRepository = hubRepository;
            _vehicleRepository = vehicleRepository;
            _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
            _ShiftRepository = shiftRepository;
            _SeasonRepository = seasonRepository;
            _ServiceProviderRepository = serviceProviderRepository;
            _ServiceRepository = serviceRepository;
            _InfectionRepository = infectionRepository;
            _activityTypeRepository = activityTypeRepository;
            _outletVisitReasonsTypeRepository = visitReasonsTypeRepository;
        }
Exemplo n.º 28
0
        public void Setup()
        {
            _testHelper = ObjectFactory.GetInstance<TestHelper>();

            _targetPeriodRepository = _testHelper.Ioc<ITargetRepository>();
        }
Exemplo n.º 29
0
 public DTOToEntityMapping(IProductPricingRepository productPricingRepository,IProductTypeRepository productTypeRepository, IRegionRepository regionRepository, IContactTypeRepository contactTypeRepository,
      IUserRepository userRepository, IProductPricingTierRepository pricingTierRepository, IRouteRepository routeRepository,
     IOutletCategoryRepository outletCategoryRepository, IOutletTypeRepository outletTypeRepository, IContactRepository contactRepository, IDiscountGroupRepository discountGroupRepository,
     IVATClassRepository vatClassRepository, IDistributorRepository distributorRepository, ICountryRepository countryRepository, ISupplierRepository supplierRepository,
     IProductBrandRepository productBrandRepository, IProductRepository productRepository, IProductFlavourRepository productFlavourRepository, IUserGroupRepository userGroupRepository,
     ICostCentreRepository costCentreRepository, IProvincesRepository provincesRepository, ITargetPeriodRepository targetPeriodRepository, IAssetCategoryRepository assetCategoryRepository,
     IAssetStatusRepository assetStatusRepository, IAssetTypeRepository assetTypeRepository, IProductPackagingRepository productPackagingRepository, IBankRepository bankRepository,
     ICompetitorRepository competitorRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IContainmentRepository containmentRepository, ITargetRepository targetRepository,
     ICommodityTypeRepository commodityTypeRepository, ICommodityRepository commodityRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, ICommodityProducerRepository commodityProducerRepository,
     ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerRepository commodityOwnerRepository, ICentreRepository centreRepository, IHubRepository hubRepository, IPurchasingClerkRepository purchasingClerkRepository,
     ICentreTypeRepository centreTypeRepository, IContainerTypeRepository containerTypeRepository, IVehicleRepository vehicleRepository
     )
 {
     _productTypeRepository = productTypeRepository;
     _regionRepository = regionRepository;
     _contactTypeRepository = contactTypeRepository;
    // _maritalStatusRepository = maritalStatusRepository;
     _userRepository = userRepository;
     _pricingTierRepository = pricingTierRepository;
     _routeRepository = routeRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _outletTypeRepository = outletTypeRepository;
     _contactRepository = contactRepository;
     _discountGroupRepository = discountGroupRepository;
     _vatClassRepository = vatClassRepository;
     _distributorRepository = distributorRepository;
     _countryRepository = countryRepository;
     _supplierRepository = supplierRepository;
     _productBrandRepository = productBrandRepository;
     _productRepository = productRepository;
     _productFlavourRepository = productFlavourRepository;
     _userGroupRepository = userGroupRepository;
     _costCentreRepository = costCentreRepository;
     _provincesRepository = provincesRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _assetCategoryRepository = assetCategoryRepository;
     _assetStatusRepository = assetStatusRepository;
     _assetTypeRepository = assetTypeRepository;
     _productPackagingRepository = productPackagingRepository;
     _bankRepository = bankRepository;
     _competitorRepository = competitorRepository;
     _productPackagingTypeRepository = productPackagingTypeRepository;
     _containmentRepository = containmentRepository;
     _productPricingRepository = productPricingRepository;
     _targetRepository = targetRepository;
     _commodityTypeRepository = commodityTypeRepository;
     _commodityRepository = commodityRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _hubRepository = hubRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _centreTypeRepository = centreTypeRepository;
     _containerTypeRepository = containerTypeRepository;
     _vehicleRepository = vehicleRepository;
     //SetupAutomapperMappings();
 }
Exemplo n.º 30
0
 public TargetParser(IParserResolver resolver, ITargetRepository targetRepository)
 {
     _resolver         = resolver;
     _targetRepository = targetRepository;
 }
Exemplo n.º 31
0
 public CompareService()
 {
     _sourceRepository = ClassFactory.GetInstance<ISourceRepository>();
     _TargetRepository = ClassFactory.GetInstance<ITargetRepository>();
 }
Exemplo n.º 32
0
        public DeliverableServiceMock(IUnitOfWork unitOfWork = null, IDeliverableRepository deliverableRepository = null,
                                      IDeliverableStatusRepository deliverableStatusRepository = null, IDepartmentRepository departmentRepository = null,
                                      IChannelRepository channelRepository = null, ITypeOfWorkRepository typeOfWorkRepository = null,
                                      ITypeOfWorkCategoryRepository typeOfWorkTypeRepository = null, IDeliverableCategoryRepository deliverableCategoryRepository = null,
                                      IDeliverableTypeRepository deliverableTypeRepository   = null, IDeliverableSubTypeRepository deliverableSubTypeRepository   = null,
                                      ITargetRepository targetRepository         = null, IActivityTypeRepository activityTypeRepository = null,
                                      IBudgetTypeRepository budgetTypeRepository = null, IWBSElementRepository budgetTypeTOWRepository  = null,
                                      IFamilyProductIssueTowDeliverableRepository familyProductIssueTowDeliverableRepository = null, IVendorRepository vendorRepository = null,
                                      IProductionMethodTypeRepository productionMethodTypeRepository = null, IUserRepository userRepository       = null,
                                      IGLAccountRepository glAccountRepository         = null, IActivityStatusRepository activityStatusRepository = null, IMediaOutletCategoryRepository mediaOutletCategoryRepository = null,
                                      IMediaOutletRepository mediaOutletRepository     = null,
                                      IPrintCategoryRepository printCategoryRepository = null, ICalendarRepository calendarRepository = null,
                                      ILogService logService = null, IDeliverableTypeCompanyVendorRepository deliverableTypeCompanyVendorRepository = null, IOffAirDesignRepository printRepository = null,
                                      IMediaBuyCommittedRepository mediaBuyCommittedRepository = null,
                                      IInternalRepository iInternalRepository = null,
                                      IActivityStatusCategoryRepository iActivityStatusCategoryRepository = null, IChannelCostCenterRepository channelCostCenterRepository = null,
                                      //Contract Request - EDMX fix
                                      //IContractRequestHeaderRepository contractRequestHeaderRepository = null, IContractRequestLineRepository contractRequestLineRepository = null,
                                      ITrackActivityElementRepository trackActivityElementRepository = null, IAssetGroupRepository assetGroupRepository = null,
                                      IAssetGroupChannelHouseAdvertiserRepository assetGroupChannelHouseAdvertiserRepository = null,
                                      IUserChannelRepository userChannelRepository              = null,
                                      IChannelTalentRepository channelTalentRepository          = null,
                                      IDeliverable_TalentRepository talentDeliverableRepository = null, ITalentRepository talentRepository = null,
                                      IUserTitleRepository userTitleRepository = null, IDeliverableUserTitleMrmUserRepository deliverableUserTitleMrmUserRepository = null,
                                      IDeliverableProductionMethodTypeRepository deliverableProductionMethodTypeRepository         = null, IDeliverableDateTypeRepository deliverableDateTypeRepository = null,
                                      IDeliverableGroupDeliverableDateTypeRepository deliverableGroupDeliverableDateTypeRepository = null,
                                      IDeliverableDateRepository deliverableDeliverableDateTypeRepository = null, IDeliverableGroupRepository deliverableGroupRepository = null,
                                      IScriptRepository scriptRepository = null, IMusicRepository musicRepository = null, IMusicSubLibraryRepository _musicSubLibraryRepository = null,
                                      IMusicLibraryRepository _musicLibraryRepository            = null, IRecordingTypeRepository recordingTypeRepository = null, IMusicUsageTypeRepository musicUsageTypeRepository = null,
                                      IWBS_DeliverablesRepository wbsDeliverablesRepository      = null,
                                      IGraphicElementRepository graphicElementRepository         = null, IGraphicImageRepository graphicImageRepository = null,
                                      IGraphicElementTypeRepository graphicElementTypeRepository = null, IGraphicElementTypeGraphicPackageChannelRepository graphicElementTypeGraphicPackageChannelRepository = null,
                                      IGraphicHeaderRepository graphicHeaderRepository           = null,
                                      ITrackTypeRepository trackTypeRepository         = null, IWorkOrderVendorRepository workOrderVendorRepository = null,
                                      IWorkOrderTypeRepository workOrderTypeRepository = null,

                                      IDeliverableDateRepository deliverableDeliverableGroupDeliverableDateTypeRepository = null,
                                      IDeliverableDateTypeRepository iDeliverableDateTypeRepository = null,
                                      IMediaTypeRepository mediaTypeRepository = null, IApprovalRepository approvalRepository = null,
                                      IApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository approvalTypeChannelBudgetTypeMRMUserUserTitleRepository    = null, IImageService imageService = null, IGraphicFrameRateRepository graphicFrameRateRepository = null, IGraphicPackageRepository graphicPackageRepository = null
                                      , IApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository iApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository = null
                                      , IChannelDeliverableTypeDeliverableGroupRepository channelDeliverableTypeDeliverableGroupRepository = null,
                                      IDeliverableDateSummaryRepository deliverableDateSummaryRepository         = null,
                                      IDeliverableSecondaryTargetRepostiory deliverableSecondaryTargetRepostiory = null,
                                      IDeliverablePlannedLengthRepository deliverablePlannedLengthRepository     = null,
                                      IInternationalService internationalService   = null,
                                      ICommentRepository commentRepository         = null,
                                      ICommentTypeRepository commentTypeRepository = null,
                                      IWBSFiscalYear_ChannelRepository iWBSFiscalYear_ChannelRepository  = null,
                                      IDeliverableHouseNumberRepository deliverableHouseNumberRepository = null,
                                      IPropertyService propertyService = null,
                                      ILineOfBusinessRepository lineOfBusinessRepository = null,
                                      IDeliverableLineOfBusinessRepository deliverableLineOfBusinessRepository = null,
                                      IDeliverableBudgetRepository deliverableBudgetRepository    = null,
                                      IDeliverable_VendorRepository ideliverable_VendorRepository = null,
                                      IDeliverableInternationalDetailRepository deliverableInternationalDetailRepository = null,
                                      IDeliverableInternationalPathRepository deliverableInternationalPathRepository     = null,
                                      //Contract Request - EDMX fix
                                      IHDeliverableBudgetRepository hDeliverableBudgetRepository = null, IDeliverableBudgetRepository deliverable_BudgetRepository = null) : base(
                unitOfWork, deliverableRepository, deliverableStatusRepository, departmentRepository, channelRepository, typeOfWorkRepository, typeOfWorkTypeRepository, deliverableCategoryRepository, deliverableTypeRepository, deliverableSubTypeRepository, targetRepository, activityTypeRepository, budgetTypeRepository, budgetTypeTOWRepository, familyProductIssueTowDeliverableRepository, vendorRepository, productionMethodTypeRepository, userRepository, glAccountRepository, activityStatusRepository, mediaOutletCategoryRepository, mediaOutletRepository,
                printCategoryRepository, calendarRepository, logService, deliverableTypeCompanyVendorRepository, printRepository, mediaBuyCommittedRepository, iInternalRepository, iActivityStatusCategoryRepository, channelCostCenterRepository, /*contractRequestHeaderRepository, contractRequestLineRepository,*/ trackActivityElementRepository, assetGroupRepository, assetGroupChannelHouseAdvertiserRepository, userChannelRepository, channelTalentRepository, talentDeliverableRepository, talentRepository, userTitleRepository, deliverableUserTitleMrmUserRepository, deliverableProductionMethodTypeRepository, deliverableDateTypeRepository, deliverableGroupDeliverableDateTypeRepository, deliverableDeliverableDateTypeRepository, deliverableGroupRepository, scriptRepository, musicRepository, _musicSubLibraryRepository, _musicLibraryRepository, recordingTypeRepository, musicUsageTypeRepository, wbsDeliverablesRepository,
                graphicElementRepository, graphicImageRepository, graphicElementTypeRepository, graphicElementTypeGraphicPackageChannelRepository,
                graphicHeaderRepository,
                trackTypeRepository, workOrderVendorRepository, workOrderTypeRepository,
                deliverableDeliverableGroupDeliverableDateTypeRepository, iDeliverableDateTypeRepository, mediaTypeRepository, approvalRepository, approvalTypeChannelBudgetTypeMRMUserUserTitleRepository, imageService, graphicFrameRateRepository, graphicPackageRepository
                , iApprovalTypeChannelBudgetTypeMRMUserUserTitleRepository
                , channelDeliverableTypeDeliverableGroupRepository,
                deliverableDateSummaryRepository,
                deliverableSecondaryTargetRepostiory,
                deliverablePlannedLengthRepository,
                internationalService,
                commentRepository,
                commentTypeRepository,
                iWBSFiscalYear_ChannelRepository,
                deliverableHouseNumberRepository, propertyService,
                lineOfBusinessRepository,
                deliverableLineOfBusinessRepository,
                deliverableBudgetRepository,
                ideliverable_VendorRepository,
                deliverableInternationalDetailRepository,
                deliverableInternationalPathRepository,
                hDeliverableBudgetRepository, deliverable_BudgetRepository)
        {
        }
Exemplo n.º 33
0
 public TargetLogic(IUnitOfWork unit, ITargetRepository repo)
 {
     this.Unit = unit;
     this.Repo = repo;
 }
Exemplo n.º 34
0
 /// <summary>
 /// 构造函数注入
 /// </summary>
 /// <param name="organization"></param>
 public TargetController(ITargetRepository targetRepository)
 {
     _target = targetRepository;
 }
Exemplo n.º 35
0
 public DropDownListServiceMock(IDropDownListRepository idropDownListRepository = null,
                                IUserRepository iuserRepository = null,
                                IChannelTalentRepository ichannelTalentRepository         = null,
                                ITitleSeasonSeriesRepository ititleSeasonSeriesRepository = null,
                                IChannelDeliverableTypeDeliverableGroupRepository ichannelDeliverableTypeDeliverableGroupRepository = null,
                                IAssetGroupChannelHouseAdvertiserRepository iassetGroupChannelHouseAdvertiserRepository             = null,
                                IDeliverable_TalentRepository italentDeliverableRepository = null,
                                IDeliverableType_DeliverableSubTypeRepository iDeliverableType_DeliverableSubTypeRepository = null,
                                IDeliverableTypeRepository iDeliverableTypeRepository = null,
                                IChannel_DeliverableGroup_VendorRepository ichannel_DeliverableGroup_VendorRepository = null,
                                IActivityTypeActivityStatusRepository iactivityTypeActivityStatusRepository           = null,
                                ITargetRepository targetRepository         = null,
                                ITypeOfWorkRepository typeOfWorkRepository = null,
                                IDeliverableDateTypeRepository deliverableDateTypeRepository = null,
                                ITalentRepository talentRepository = null,
                                IMusicSubLibraryRepository musicSubLibraryRepository         = null,
                                IMusicLibraryRepository musicLibraryRepository               = null,
                                IMediaOutletRepository mediaOutletRepository                 = null,
                                IMediaOutletCategoryRepository mediaOutletCategoryRepository = null,
                                IGLAccountMediaOutletCategoryRepository gLAccountMediaOutletCategoryRepository = null,
                                IWBSFiscalYear_ChannelRepository wBSFiscalYear_ChannelRepository = null,
                                IInvoiceStatusRepository invoiceStatusRepository             = null,
                                IChannelCostCenterRepository channelCostCenterRepository     = null,
                                IChannelProfitCenterRepository channelProfitCenterRepository = null,
                                IVendorRepository vendorRepository = null,
                                IWorkOrderType_Channel_WorkOrderVendorRepository workOrderType_Channel_WorkOrderVendorRepository = null,
                                IWorkOrderVendorRepository workOrderVendorRepository = null,
                                IDeliverableGroup_DeliverableStatusRepository deliverableGroup_DeliverableStatusRepository = null,
                                IMasterVendorViewRepository masterVendorViewRepository = null,
                                IDeliverableGroup_DeliverableDateTypeRepository deliverableGroup_DeliverableDateTypeRepository = null,
                                IBudgetStatusRepository budgetStatusRepository = null,
                                IDeliverableCategoryRepository deliverableCategoryRepository = null,
                                IBusinessAreaRepository businessAreaRepository = null,
                                IChannelDeliverableGroupRepository ChannelDeliverableGroupRepository = null,
                                IChannel_DeliverableGroup_VendorRepository channelDeliverableGroupVendorRepository = null,
                                IProductionMethodTypeRepository ProductionMethodTypeRepository = null,
                                IWBSElementRepository wbsElementRepository         = null,
                                IChargeCodeTypeRepository chargeCodeTypeRepository = null
                                )
     : base(idropDownListRepository, iuserRepository,
            ichannelTalentRepository, ititleSeasonSeriesRepository,
            ichannelDeliverableTypeDeliverableGroupRepository,
            iassetGroupChannelHouseAdvertiserRepository,
            italentDeliverableRepository,
            iDeliverableType_DeliverableSubTypeRepository,
            iDeliverableTypeRepository,
            ichannel_DeliverableGroup_VendorRepository,
            iactivityTypeActivityStatusRepository,
            targetRepository,
            typeOfWorkRepository, deliverableDateTypeRepository,
            talentRepository,
            musicSubLibraryRepository,
            musicLibraryRepository,
            mediaOutletRepository,
            mediaOutletCategoryRepository,
            gLAccountMediaOutletCategoryRepository,
            wBSFiscalYear_ChannelRepository,
            invoiceStatusRepository,
            channelCostCenterRepository,
            channelProfitCenterRepository,
            vendorRepository,
            workOrderType_Channel_WorkOrderVendorRepository,
            workOrderVendorRepository,
            deliverableGroup_DeliverableStatusRepository,
            masterVendorViewRepository,
            deliverableGroup_DeliverableDateTypeRepository,
            budgetStatusRepository,
            deliverableCategoryRepository,
            businessAreaRepository,
            ChannelDeliverableGroupRepository,
            channelDeliverableGroupVendorRepository,
            ProductionMethodTypeRepository,
            wbsElementRepository,
            chargeCodeTypeRepository)
 {
 }
 public TargetLogic(IUnitOfWork unit, ITargetRepository repo)
 {
     this.Unit = unit;
     this.Repo = repo;
 }
Exemplo n.º 37
0
 public TargetController(ITargetRepository repo)
 {
     _repo = repo;
 }
Exemplo n.º 38
0
 public MetaEntityManager(IMetaEntityRepository metaEntityRepository, ITargetManager targetManager, ITargetRepository targetRepository)
 {
     this.metaEntityRepository = metaEntityRepository;
     this.targetManager        = targetManager;
     this.targetRepository     = targetRepository;
 }
 public static void SetUp(TestContext context)
 {
     _unitOfWork = new UnitOfWork();
     _repository = _unitOfWork.TargetRepository;
     _factory = new TargetFactory();
 }
Exemplo n.º 40
0
 public EntityUsage(ITargetRepository targetRepository)
 {
     _targetRepository = targetRepository;
 }
Exemplo n.º 41
0
 public MasterDataEnvelopeBuilder(IProductTypeRepository productTypeRepository, IProductBrandRepository productBrandRepository, IProductFlavourRepository productFlavourRepository,
     IProductPackagingRepository productPackagingRepository, IProductPackagingTypeRepository productPackagingTypeRepository, IProductRepository productRepository, 
     IRegionRepository regionRepository, ICostCentreRepository costCentreRepository, ICostCentreApplicationRepository costCentreApplicationRepository, 
     IProductPricingRepository pricingRepository, IVATClassRepository vatClassRepository, IProductPricingTierRepository productPricingTierRepository, 
     ICountryRepository countryRepository, IOutletTypeRepository outletTypeRepository, IUserRepository userRepository, IOutletRepository outletRepository, 
     IRouteRepository routeRepository, ITransporterRepository transporterRepository, IDistributorSalesmanRepository distributorSalesmanRepository, 
     IProducerRepository producerRepository, IDistributorRepository distributorrepository, ISocioEconomicStatusRepository socioEconomicStatusRepository, 
     IOutletCategoryRepository outletCategoryRepository, ITerritoryRepository territoryRepository, IAreaRepository areaRepository, IContactRepository contactRepository, 
     IDistributorPendingDispatchWarehouseRepository distributorPendingDispatchWarehouseRepository, IChannelPackagingRepository channelPackagingRepository, 
     ICompetitorRepository competitorRepository, ICompetitorProductsRepository competitorProductsRepository, IAssetRepository coolerRepository, 
     IAssetTypeRepository coolerTypeRepository, IDistrictRepository districtRepository, IProvincesRepository provinceRepository, IReOrderLevelRepository reorderLevelRepository, 
     ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository, IProductDiscountRepository productDiscountRepository, 
     ISaleValueDiscountRepository saleValueDiscountRepository, IDiscountGroupRepository discountGroupRepository, IPromotionDiscountRepository promotionDiscountRepository, 
     ICertainValueCertainProductDiscountRepository certainValueCertainProductDiscountRepository, IFreeOfChargeDiscountRepository freeOfChargeDiscountRepository, 
     IProductDiscountGroupRepository productDiscountGroupRepository, ISalesmanRouteRepository salesmanRouteRepository, IContainmentRepository containmentRepository, 
     IUserGroupRepository userGroupRepository, IUserGroupRolesRepository userGroupRolesRepository, IBankRepository bankRepository, IBankBranchRepository bankBranchRepository, 
     ISupplierRepository supplierRepository, IContactTypeRepository contactTypeRepository, 
     IAssetCategoryRepository assetCategoryRepository, IAssetStatusRepository assetStatusRepository, IOutletVisitDayRepository outletVisitDayRepository, 
     IOutletPriorityRepository outletPriorityRepository, ITargetItemRepository targetItemRepository, ISettingsRepository settingsRepository, 
     IInventoryRepository inventoryRepository, IPaymentTrackerRepository paymentTrackerRepository, IRetireDocumentSettingRepository retireDocumentSettingRepository, 
     ICommodityTypeRepository commodityTypeRepository, ICommodityRepository commodityRepository, ICommodityOwnerTypeRepository commodityOwnerTypeRepository, 
     ICommodityProducerRepository commodityProducerRepository, ICommoditySupplierRepository commoditySupplierRepository, ICommodityOwnerRepository commodityOwnerRepository, 
     ICentreRepository centreRepository, IHubRepository hubRepository, IPurchasingClerkRepository purchasingClerkRepository, 
     IPurchasingClerkRouteRepository purchasingClerkRouteRepository, ICentreTypeRepository centreTypeRepository, IEquipmentRepository equipmentRepository, 
     IStoreRepository storeRepository, IMasterDataAllocationRepository masterDataAllocationRepository, IContainerTypeRepository containerTypeRepository, IVehicleRepository vehicleRepository)
 {
     _productTypeRepository = productTypeRepository;
     _productBrandRepository = productBrandRepository;
     _productFlavourRepository = productFlavourRepository;
     _productPackagingRepository = productPackagingRepository;
     _productPackagingTypeRepository = productPackagingTypeRepository;
     _productRepository = productRepository;
     _regionRepository = regionRepository;
     _costCentreRepository = costCentreRepository;
     _costCentreApplicationRepository = costCentreApplicationRepository;
     _pricingRepository = pricingRepository;
     _vatClassRepository = vatClassRepository;
     _ProductPricingTierRepository = productPricingTierRepository;
     _countryRepository = countryRepository;
     _outletTypeRepository = outletTypeRepository;
     _userRepository = userRepository;
     _outletRepository = outletRepository;
     _routeRepository = routeRepository;
     _transporterRepository = transporterRepository;
     _distributorSalesmanRepository = distributorSalesmanRepository;
     _producerRepository = producerRepository;
     _distributorrepository = distributorrepository;
     _socioEconomicStatusRepository = socioEconomicStatusRepository;
     _outletCategoryRepository = outletCategoryRepository;
     _territoryRepository = territoryRepository;
     _areaRepository = areaRepository;
     _contactRepository = contactRepository;
     _distributorPendingDispatchWarehouseRepository = distributorPendingDispatchWarehouseRepository;
     _channelPackagingRepository = channelPackagingRepository;
     _competitorRepository = competitorRepository;
     _competitorProductsRepository = competitorProductsRepository;
     _coolerRepository = coolerRepository;
     _coolerTypeRepository = coolerTypeRepository;
     _districtRepository = districtRepository;
     _provinceRepository = provinceRepository;
     _reorderLevelRepository = reorderLevelRepository;
     _targetPeriodRepository = targetPeriodRepository;
     _targetRepository = targetRepository;
     _productDiscountRepository = productDiscountRepository;
     _saleValueDiscountRepository = saleValueDiscountRepository;
     _discountGroupRepository = discountGroupRepository;
     _promotionDiscountRepository = promotionDiscountRepository;
     _certainValueCertainProductDiscountRepository = certainValueCertainProductDiscountRepository;
     _freeOfChargeDiscountRepository = freeOfChargeDiscountRepository;
     _productDiscountGroupRepository = productDiscountGroupRepository;
     _salesmanRouteRepository = salesmanRouteRepository;
     _containmentRepository = containmentRepository;
     _userGroupRepository = userGroupRepository;
     _userGroupRolesRepository = userGroupRolesRepository;
     _bankRepository = bankRepository;
     _bankBranchRepository = bankBranchRepository;
     _supplierRepository = supplierRepository;
     _contactTypeRepository = contactTypeRepository;
     _assetCategoryRepository = assetCategoryRepository;
     _assetStatusRepository = assetStatusRepository;
     _outletVisitDayRepository = outletVisitDayRepository;
     _outletPriorityRepository = outletPriorityRepository;
     _targetItemRepository = targetItemRepository;
     _settingsRepository = settingsRepository;
     _inventoryRepository = inventoryRepository;
     _paymentTrackerRepository = paymentTrackerRepository;
     _retireDocumentSettingRepository = retireDocumentSettingRepository;
     _commodityTypeRepository = commodityTypeRepository;
     _commodityRepository = commodityRepository;
     _commodityOwnerTypeRepository = commodityOwnerTypeRepository;
     _commodityProducerRepository = commodityProducerRepository;
     _commoditySupplierRepository = commoditySupplierRepository;
     _commodityOwnerRepository = commodityOwnerRepository;
     _centreRepository = centreRepository;
     _hubRepository = hubRepository;
     _purchasingClerkRepository = purchasingClerkRepository;
     _purchasingClerkRouteRepository = purchasingClerkRouteRepository;
     _centreTypeRepository = centreTypeRepository;
     _equipmentRepository = equipmentRepository;
     _storeRepository = storeRepository;
     _masterDataAllocatioRepository = masterDataAllocationRepository;
     _containerTypeRepository = containerTypeRepository;
     _vehicleRepository = vehicleRepository;
 }
Exemplo n.º 42
0
 public QueryHandler(ITargetRepository repository,
                     IMapper mapper)
 {
     _repository = repository;
     _mapper     = mapper;
 }
 public TargetPeriodViewModelBuilder(ITargetPeriodRepository targetPeriodRepository, ITargetRepository targetRepository)
 {
     _targetPeriodRepository = targetPeriodRepository;
     _targetRepository = targetRepository;
     _entityUsage = new EntityUsage(_targetRepository);
 }
Exemplo n.º 44
0
 public CompareService()
 {
     _sourceRepository = ClassFactory.GetInstance <ISourceRepository>();
     _TargetRepository = ClassFactory.GetInstance <ITargetRepository>();
 }