Exemplo n.º 1
0
 public QuoteController(IQuoteRepository quoteRepository,
                        ICustomerDynamicsRepository customerDynamicsRepository,
                        ICustomerAddressDynamicsRepository customerAddressDynamicsRepository,
                        IProjectRepository projectRepository,
                        IShipmentTermRepository shipmentTermRepository,
                        IPaymentTermRepository paymentTermRepository,
                        IMaterialRepository materialRepository,
                        ICoatingTypeRepository coatingTypeRepository,
                        IHtsNumberRepository htsNumberRepository,
                        IRfqRepository rfqRepository,
                        IPriceSheetRepository priceSheetRepository,
                        IProjectPartRepository projectPartRepository,
                        IStateRepository stateRepository,
                        IPartRepository partRepository)
 {
     _quoteRepository                   = quoteRepository;
     _customerDynamicsRepository        = customerDynamicsRepository;
     _customerAddressDynamicsRepository = customerAddressDynamicsRepository;
     _projectRepository                 = projectRepository;
     _shipmentTermRepository            = shipmentTermRepository;
     _paymentTermRepository             = paymentTermRepository;
     _materialRepository                = materialRepository;
     _coatingTypeRepository             = coatingTypeRepository;
     _htsNumberRepository               = htsNumberRepository;
     _rfqRepository         = rfqRepository;
     _priceSheetRepository  = priceSheetRepository;
     _projectPartRepository = projectPartRepository;
     _stateRepository       = stateRepository;
     _partRepository        = partRepository;
 }
Exemplo n.º 2
0
 public CustomerController(ICustomerDynamicsRepository customerDynamicsRepository,
                           ICustomerAddressDynamicsRepository customerAddressDynamicsRepository,
                           IPaymentTermRepository paymentTermRepository,
                           IShipmentTermRepository shipmentTermRepository,
                           ICountryRepository countryRepository,
                           IStateRepository stateRepository,
                           IOrderTermRepository orderTermRepository,
                           ISalespersonDynamicsRepository salespersonDynamicsRepository,
                           ISiteDynamicsRepository siteDynamicsRepository,
                           IAccountCodeRepository accountCodeRepository,
                           IProjectRepository projectRepository,
                           IPartRepository partRepository)
 {
     _customerDynamicsRepository        = customerDynamicsRepository;
     _customerAddressDynamicsRepository = customerAddressDynamicsRepository;
     _paymentTermRepository             = paymentTermRepository;
     _shipmentTermRepository            = shipmentTermRepository;
     _countryRepository             = countryRepository;
     _stateRepository               = stateRepository;
     _orderTermRepository           = orderTermRepository;
     _salespersonDynamicsRepository = salespersonDynamicsRepository;
     _siteDynamicsRepository        = siteDynamicsRepository;
     _accountCodeRepository         = accountCodeRepository;
     _projectRepository             = projectRepository;
     _partRepository = partRepository;
 }
Exemplo n.º 3
0
 public FinanceServiceMock(
     IUnitOfWork unitOfWork = null,
     IDeliverableRepository deliverableRepository     = null,
     ITypeOfWorkRepository typeOfWorkRepository       = null,
     IPaymentTermRepository paymentTermRepository     = null,
     IInvoiceStatusRepository invoiceStatusRepository = null,
     IVendorRepository vendorRepository     = null,
     ICalendarRepository calendarRepository = null,
     IWBSFiscalYear_ChannelRepository wbsFiscalYearChannelRepository = null,
     IGLAccountRepository glAccountRepository = null,
     IProductionMethodTypeRepository productionMethodTypeRepository = null,
     IInvoiceHeaderRepository invoiceHeaderRepository = null,
     IInvoiceLineRepository invoiceLineRepository     = null,
     ILogService logService = null,
     IDeliverableBudgetRepository Deliverablebudgetrepository = null,
     IUserChannelRepository userChannelRepository             = null,
     IBudgetTypeRepository BudgetTypeRepository                   = null,
     IBudgetRepository budgetRepository                           = null,
     IApInvoiceBatchRepository apInvoiceBatchRepository           = null,
     IInternalRepository internalRepository                       = null,
     IChannelCostCenterRepository channelCostCenterRepository     = null,
     IChannelProfitCenterRepository channelProfitCenterRepository = null,
     IBudgetByChannelRepository _iBudgetByChannelRepository       = null,
     IActualsReconciliationDashboardRepository actualsReconciliationDashboardRepository = null,
     IActualsReconciliationRepository actualsReconciliationRepository   = null,
     IBudgetByCategoryRollupRepository budgetByCategoryRollupRepository = null,
     IWBS_DeliverablesRepository _iWBS_DeliverablesRepository           = null,
     IUserRepository iUserRepository = null,
     IWorkOrderTransactionRepositry iworkOrderTransactionRepositry = null, IWBSElementRepository iwbselementRepository = null) : base(
         unitOfWork,
         deliverableRepository,
         typeOfWorkRepository,
         paymentTermRepository,
         invoiceStatusRepository,
         vendorRepository,
         calendarRepository,
         wbsFiscalYearChannelRepository,
         glAccountRepository,
         productionMethodTypeRepository,
         invoiceHeaderRepository,
         invoiceLineRepository,
         logService,
         Deliverablebudgetrepository,
         userChannelRepository,
         BudgetTypeRepository,
         budgetRepository,
         apInvoiceBatchRepository,
         internalRepository,
         channelCostCenterRepository,
         channelProfitCenterRepository,
         _iBudgetByChannelRepository,
         actualsReconciliationDashboardRepository,
         actualsReconciliationRepository,
         budgetByCategoryRollupRepository,
         _iWBS_DeliverablesRepository,
         iUserRepository,
         iworkOrderTransactionRepositry, iwbselementRepository
         )
 {
 }
Exemplo n.º 4
0
 public PartController()
 {
     _projectRepository                 = new ProjectRepository();
     _customerDynamicsRepository        = new CustomerDynamicsRepository();
     _customerAddressDynamicsRepository = new CustomerAddressDynamicsRepository();
     _foundryDynamicsRepository         = new FoundryDynamicsRepository();
     _shipmentTermRepository            = new ShipmentTermRepository();
     _materialRepository                = new MaterialRepository();
     _coatingTypeRepository             = new CoatingTypeRepository();
     _specificationMaterialRepository   = new SpecificationMaterialRepository();
     _projectPartRepository             = new ProjectPartRepository();
     _priceSheetRepository              = new PriceSheetRepository();
     _partRepository            = new PartRepository();
     _partDynamicsRepository    = new PartDynamicsRepository();
     _htsNumberRepository       = new HtsNumberRepository();
     _partStatusRepository      = new PartStatusRepository();
     _partTypeRepository        = new PartTypeRepository();
     _paymentTermRepository     = new PaymentTermRepository();
     _surchargeRepository       = new SurchargeRepository();
     _siteDynamicsRepository    = new SiteDynamicsRepository();
     _patternMaterialRepository = new PatternMaterialRepository();
     _destinationRepository     = new DestinationRepository();
     _foundryOrderRepository    = new FoundryOrderRepository();
     _customerOrderRepository   = new CustomerOrderRepository();
     _accountCodeRepository     = new AccountCodeRepository();
 }
        public PaymentTermService(IPaymentTermRepository paymentTermRepository)
        {
            this._paymentTermRepository = paymentTermRepository;

            if (this._paymentTermRepository == null)
            {
                throw new ArgumentNullException("PaymentTermService.IPaymentTermRepository");
            }
        }
Exemplo n.º 6
0
        public PaymentTermController(IPaymentTermRepository repository, string catalog, LoginView view)
        {
            this._LoginId  = view.LoginId.ToLong();
            this._UserId   = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog  = catalog;

            this.PaymentTermRepository = repository;
        }
Exemplo n.º 7
0
        public PaymentTermController(IPaymentTermRepository repository, string catalog, LoginView view)
        {
            this._LoginId = view.LoginId.ToLong();
            this._UserId = view.UserId.ToInt();
            this._OfficeId = view.OfficeId.ToInt();
            this._Catalog = catalog;

            this.PaymentTermRepository = repository;
        }
Exemplo n.º 8
0
 public RaQueueService(IOperationRepository operationRepository, IOperationsWorkPlaceRepository operationsWorkPlaceRepository,
                       IPaymentTermRepository paymentTermRepository, IRaStatusRepository raStatusRepository, IRentalAgreementRepository rentalAgreementRepository)
 {
     this.operationRepository           = operationRepository;
     this.operationsWorkPlaceRepository = operationsWorkPlaceRepository;
     this.paymentTermRepository         = paymentTermRepository;
     this.raStatusRepository            = raStatusRepository;
     this.rentalAgreementRepository     = rentalAgreementRepository;
 }
 public QuotationViewModelSelectListBuilder(IPaymentTermSelectListBuilder paymentTermSelectListBuilder,
     IPaymentTermRepository paymentTermRepository,
     IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
     IAspNetUserRepository aspNetUserRepository)
 {
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository = paymentTermRepository;
     this.aspNetUserRepository = aspNetUserRepository;
     this.aspNetUserSelectListBuilder = aspNetUserSelectListBuilder;
 }
 public QuotationViewModelSelectListBuilder(IPaymentTermSelectListBuilder paymentTermSelectListBuilder,
                                            IPaymentTermRepository paymentTermRepository,
                                            IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
                                            IAspNetUserRepository aspNetUserRepository)
 {
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository        = paymentTermRepository;
     this.aspNetUserRepository         = aspNetUserRepository;
     this.aspNetUserSelectListBuilder  = aspNetUserSelectListBuilder;
 }
 public ServicesInvoiceViewModelSelectListBuilder(IPaymentTermSelectListBuilder paymentTermSelectListBuilder,
     IPaymentTermRepository paymentTermRepository,
     IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
     IAspNetUserRepository aspNetUserRepository)
 {
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository = paymentTermRepository;
     this.aspNetUserRepository = aspNetUserRepository;
     this.aspNetUserSelectListBuilder = aspNetUserSelectListBuilder;
 }
 public ServicesInvoiceViewModelSelectListBuilder(IPaymentTermSelectListBuilder paymentTermSelectListBuilder,
                                                  IPaymentTermRepository paymentTermRepository,
                                                  IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
                                                  IAspNetUserRepository aspNetUserRepository)
 {
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository        = paymentTermRepository;
     this.aspNetUserRepository         = aspNetUserRepository;
     this.aspNetUserSelectListBuilder  = aspNetUserSelectListBuilder;
 }
 public PurchaseOrderViewModelSelectListBuilder(IPriceTermSelectListBuilder priceTermSelectListBuilder,
                                                IPriceTermRepository priceTermRepository,
                                                IPaymentTermSelectListBuilder paymentTermSelectListBuilder,
                                                IPaymentTermRepository paymentTermRepository,
                                                IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
                                                IAspNetUserRepository aspNetUserRepository)
 {
     this.priceTermSelectListBuilder   = priceTermSelectListBuilder;
     this.priceTermRepository          = priceTermRepository;
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository        = paymentTermRepository;
     this.aspNetUserRepository         = aspNetUserRepository;
     this.aspNetUserSelectListBuilder  = aspNetUserSelectListBuilder;
 }
Exemplo n.º 14
0
        public PaymentTermController()
        {
            this._LoginId = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog = AppUsers.GetCurrentUserDB();

            this.PaymentTermRepository = new MixERP.Net.Schemas.Core.Data.PaymentTerm
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId = this._UserId
            };
        }
Exemplo n.º 15
0
        public PaymentTermController()
        {
            this._LoginId  = AppUsers.GetCurrent().View.LoginId.ToLong();
            this._UserId   = AppUsers.GetCurrent().View.UserId.ToInt();
            this._OfficeId = AppUsers.GetCurrent().View.OfficeId.ToInt();
            this._Catalog  = AppUsers.GetCurrentUserDB();

            this.PaymentTermRepository = new MixERP.Net.Schemas.Core.Data.PaymentTerm
            {
                _Catalog = this._Catalog,
                _LoginId = this._LoginId,
                _UserId  = this._UserId
            };
        }
 public PurchaseOrderViewModelSelectListBuilder(IPriceTermSelectListBuilder priceTermSelectListBuilder,
     IPriceTermRepository priceTermRepository,
     IPaymentTermSelectListBuilder paymentTermSelectListBuilder,
     IPaymentTermRepository paymentTermRepository,
     IAspNetUserSelectListBuilder aspNetUserSelectListBuilder,
     IAspNetUserRepository aspNetUserRepository)
 {
     this.priceTermSelectListBuilder = priceTermSelectListBuilder;
     this.priceTermRepository = priceTermRepository;
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository = paymentTermRepository;
     this.aspNetUserRepository = aspNetUserRepository;
     this.aspNetUserSelectListBuilder = aspNetUserSelectListBuilder;
 }
Exemplo n.º 17
0
 public CustomerController()
 {
     _customerDynamicsRepository        = new CustomerDynamicsRepository();
     _customerAddressDynamicsRepository = new CustomerAddressDynamicsRepository();
     _paymentTermRepository             = new PaymentTermRepository();
     _shipmentTermRepository            = new ShipmentTermRepository();
     _countryRepository             = new CountryRepository();
     _stateRepository               = new StateRepository();
     _orderTermRepository           = new OrderTermRepository();
     _salespersonDynamicsRepository = new SalespersonDynamicsRepository();
     _siteDynamicsRepository        = new SiteDynamicsRepository();
     _accountCodeRepository         = new AccountCodeRepository();
     _projectRepository             = new ProjectRepository();
     _partRepository = new PartRepository();
 }
Exemplo n.º 18
0
 public PartController(IProjectRepository projectRepository,
                       ICustomerDynamicsRepository customerDynamicsRepository,
                       ICustomerAddressDynamicsRepository customerAddressDynamicsRepository,
                       IFoundryDynamicsRepository foundryDynamicsRepository,
                       IShipmentTermRepository shipmentTermRepository,
                       IMaterialRepository materialRepository,
                       ICoatingTypeRepository coatingTypeRepository,
                       ISpecificationMaterialRepository specificationMaterialRepository,
                       IProjectPartRepository projectPartRepository,
                       IPriceSheetRepository priceSheetRepository,
                       IPartRepository partRepository,
                       IPartDynamicsRepository partDynamicsRepository,
                       IHtsNumberRepository htsNumberRepository,
                       IPartStatusRepository partStatusRepository,
                       IPartTypeRepository partTypeRepository,
                       IPaymentTermRepository paymentTermRepository,
                       ISurchargeRepository surchargeRepository,
                       ISiteDynamicsRepository siteDynamicsRepository,
                       IPatternMaterialRepository patternMaterialRepository,
                       IDestinationRepository destinationRepository,
                       IFoundryOrderRepository foundryOrderRepository,
                       ICustomerOrderRepository customerOrderRepository,
                       IAccountCodeRepository accountCodeRepository)
 {
     _projectRepository                 = projectRepository;
     _customerDynamicsRepository        = customerDynamicsRepository;
     _customerAddressDynamicsRepository = customerAddressDynamicsRepository;
     _foundryDynamicsRepository         = foundryDynamicsRepository;
     _shipmentTermRepository            = shipmentTermRepository;
     _materialRepository                = materialRepository;
     _coatingTypeRepository             = coatingTypeRepository;
     _specificationMaterialRepository   = specificationMaterialRepository;
     _projectPartRepository             = projectPartRepository;
     _priceSheetRepository              = priceSheetRepository;
     _partRepository            = partRepository;
     _htsNumberRepository       = htsNumberRepository;
     _partStatusRepository      = partStatusRepository;
     _partDynamicsRepository    = partDynamicsRepository;
     _partTypeRepository        = partTypeRepository;
     _paymentTermRepository     = paymentTermRepository;
     _surchargeRepository       = surchargeRepository;
     _siteDynamicsRepository    = siteDynamicsRepository;
     _patternMaterialRepository = patternMaterialRepository;
     _destinationRepository     = destinationRepository;
     _foundryOrderRepository    = foundryOrderRepository;
     _customerOrderRepository   = customerOrderRepository;
     _accountCodeRepository     = accountCodeRepository;
 }
Exemplo n.º 19
0
        public CustomerSelectListBuilder(ICustomerTypeSelectListBuilder customerTypeSelectListBuilder, ICustomerTypeRepository customerTypeRepository, ICustomerCategorySelectListBuilder customerCategorySelectListBuilder, ICustomerCategoryRepository customerCategoryRepository, ITerritorySelectListBuilder territorySelectListBuilder, ITerritoryRepository territoryRepository, IPriceCategorySelectListBuilder priceCategorySelectListBuilder, IPriceCategoryRepository priceCategoryRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
        {
            this.customerTypeSelectListBuilder = customerTypeSelectListBuilder;
            this.customerTypeRepository        = customerTypeRepository;

            this.customerCategorySelectListBuilder = customerCategorySelectListBuilder;
            this.customerCategoryRepository        = customerCategoryRepository;

            this.territorySelectListBuilder = territorySelectListBuilder;
            this.territoryRepository        = territoryRepository;

            this.priceCategorySelectListBuilder = priceCategorySelectListBuilder;
            this.priceCategoryRepository        = priceCategoryRepository;

            this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
            this.paymentTermRepository        = paymentTermRepository;
        }
Exemplo n.º 20
0
 public QuoteController()
 {
     _quoteRepository                   = new QuoteRepository();
     _customerDynamicsRepository        = new CustomerDynamicsRepository();
     _customerAddressDynamicsRepository = new CustomerAddressDynamicsRepository();
     _projectRepository                 = new ProjectRepository();
     _shipmentTermRepository            = new ShipmentTermRepository();
     _paymentTermRepository             = new PaymentTermRepository();
     _materialRepository                = new MaterialRepository();
     _coatingTypeRepository             = new CoatingTypeRepository();
     _htsNumberRepository               = new HtsNumberRepository();
     _rfqRepository         = new RfqRepository();
     _priceSheetRepository  = new PriceSheetRepository();
     _projectPartRepository = new ProjectPartRepository();
     _stateRepository       = new StateRepository();
     _partRepository        = new PartRepository();
 }
 public BusinessPartnerBaseDataService(ICompanyRepository companyRepository
                                       , IPaymentTermRepository paymentTermRepository
                                       , IBusinessLegalStatusRepository businessLegalStatusRepository
                                       , IBpRatingTypeRepository bpRatingTypeRepository
                                       , IBusinessPartnerRepository businessPartnerRepository
                                       , IEmployeeRepository employeeRepository
                                       , IOccupationTypeRepository occupationTypeRepository
                                       , IBusinessPartnerCompanyRepository businessPartnerCompanyRepository
                                       , ICountryRepository passportCountryRepository
                                       , IBusinessSegmentRepository businessSegmentRepository
                                       , IBusinessPartnerSubTypeRepository businessPartnerSubTypeRepository
                                       , IPhoneTypeRepository phoneTypeRepository
                                       , IAddressTypeRepository addressTypeRepository
                                       , IMarketingChannelRepository marketingChannelRepository
                                       , IBusinessPartnerRelationshipTypeRepository businessPartnerRelationshipTypeRepository
                                       , IRegionRepository regionRepository
                                       , ISubRegionRepository subRegionRepository
                                       , ICityRepository cityRepository
                                       , IAreaRepository areaRepository)
 {
     this.companyRepository                         = companyRepository;
     this.paymentTermRepository                     = paymentTermRepository;
     this.businessLegalStatusRepository             = businessLegalStatusRepository;
     this.bpRatingTypeRepository                    = bpRatingTypeRepository;
     this.businessPartnerRepository                 = businessPartnerRepository;
     this.employeeRepository                        = employeeRepository;
     this.occupationTypeRepository                  = occupationTypeRepository;
     this.businessPartnerCompanyRepository          = businessPartnerCompanyRepository;
     this.countryRepository                         = passportCountryRepository;
     this.businessSegmentRepository                 = businessSegmentRepository;
     this.businessPartnerSubTypeRepository          = businessPartnerSubTypeRepository;
     this.phoneTypeRepository                       = phoneTypeRepository;
     this.addressTypeRepository                     = addressTypeRepository;
     this.marketingChannelRepository                = marketingChannelRepository;
     this.businessPartnerRelationshipTypeRepository = businessPartnerRelationshipTypeRepository;
     this.regionRepository    = regionRepository;
     this.subRegionRepository = subRegionRepository;
     this.cityRepository      = cityRepository;
     this.areaRepository      = areaRepository;
 }
 public PurchaseOrderViewModelSelectListBuilder(IAspNetUserSelectListBuilder aspNetUserSelectListBuilder, IAspNetUserRepository aspNetUserRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
     : base(aspNetUserSelectListBuilder, aspNetUserRepository, paymentTermSelectListBuilder, paymentTermRepository)
 {
 }
 public PaymentTermProcessor(IPaymentTermRepository paymentTermRepository, IPaymentTermTypeRepository paymentTermTypeRepository)
 {
     _paymentTermRepository = paymentTermRepository;
     _paymentTermTypeRepository = paymentTermTypeRepository;
 }
 public SalesReturnViewModelSelectListBuilder(IAspNetUserSelectListBuilder aspNetUserSelectListBuilder, IAspNetUserRepository aspNetUserRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
     : base(aspNetUserSelectListBuilder, aspNetUserRepository, paymentTermSelectListBuilder, paymentTermRepository)
 {
 }
Exemplo n.º 25
0
 public AccountInvoiceViewModelSelectListBuilder(IAspNetUserSelectListBuilder aspNetUserSelectListBuilder, IAspNetUserRepository aspNetUserRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
     : base(aspNetUserSelectListBuilder, aspNetUserRepository, paymentTermSelectListBuilder, paymentTermRepository)
 {
 }
Exemplo n.º 26
0
 public PaymentTermBusiness(IPaymentTermRepository paymentTermRepository)
 {
     _paymentTermRepository = paymentTermRepository;
 }
 public DeliveryAdviceViewModelSelectListBuilder(IAspNetUserSelectListBuilder aspNetUserSelectListBuilder, IAspNetUserRepository aspNetUserRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
     : base(aspNetUserSelectListBuilder, aspNetUserRepository, paymentTermSelectListBuilder, paymentTermRepository)
 {
 }
Exemplo n.º 28
0
 public PaymentTermService(IPaymentTermRepository PaymentTermRepository)
     : base(PaymentTermRepository)
 {
 }
Exemplo n.º 29
0
 public A02ViewModelSelectListBuilder(IAspNetUserSelectListBuilder aspNetUserSelectListBuilder, IAspNetUserRepository aspNetUserRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
     : base(aspNetUserSelectListBuilder, aspNetUserRepository)
 {
     this.paymentTermSelectListBuilder = paymentTermSelectListBuilder;
     this.paymentTermRepository        = paymentTermRepository;
 }
 public CreditNoteViewModelSelectListBuilder(IAspNetUserSelectListBuilder aspNetUserSelectListBuilder, IAspNetUserRepository aspNetUserRepository, IPaymentTermSelectListBuilder paymentTermSelectListBuilder, IPaymentTermRepository paymentTermRepository)
     : base(aspNetUserSelectListBuilder, aspNetUserRepository, paymentTermSelectListBuilder, paymentTermRepository)
 {
 }
Exemplo n.º 31
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="paymentTermRepository"></param>
 public PaymentTermService(IPaymentTermRepository paymentTermRepository)
 {
     this.paymentTermRepository = paymentTermRepository;
 }
Exemplo n.º 32
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_customerDynamicsRepository != null)
                {
                    _customerDynamicsRepository.Dispose();
                    _customerDynamicsRepository = null;
                }

                if (_customerAddressDynamicsRepository != null)
                {
                    _customerAddressDynamicsRepository.Dispose();
                    _customerAddressDynamicsRepository = null;
                }

                if (_paymentTermRepository != null)
                {
                    _paymentTermRepository.Dispose();
                    _paymentTermRepository = null;
                }

                if (_shipmentTermRepository != null)
                {
                    _shipmentTermRepository.Dispose();
                    _shipmentTermRepository = null;
                }

                if (_countryRepository != null)
                {
                    _countryRepository.Dispose();
                    _countryRepository = null;
                }

                if (_stateRepository != null)
                {
                    _stateRepository.Dispose();
                    _stateRepository = null;
                }

                if (_salespersonDynamicsRepository != null)
                {
                    _salespersonDynamicsRepository.Dispose();
                    _salespersonDynamicsRepository = null;
                }

                if (_siteDynamicsRepository != null)
                {
                    _siteDynamicsRepository.Dispose();
                    _siteDynamicsRepository = null;
                }

                if (_accountCodeRepository != null)
                {
                    _accountCodeRepository.Dispose();
                    _accountCodeRepository = null;
                }

                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_partRepository != null)
                {
                    _partRepository.Dispose();
                    _partRepository = null;
                }
            }

            base.Dispose(disposing);
        }
 public PaymentTermProcessor(IPaymentTermRepository paymentTermRepository, IPaymentTermTypeRepository paymentTermTypeRepository)
 {
     _paymentTermRepository     = paymentTermRepository;
     _paymentTermTypeRepository = paymentTermTypeRepository;
 }
Exemplo n.º 34
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_quoteRepository != null)
                {
                    _quoteRepository.Dispose();
                    _quoteRepository = null;
                }

                if (_customerDynamicsRepository != null)
                {
                    _customerDynamicsRepository.Dispose();
                    _customerDynamicsRepository = null;
                }

                if (_customerAddressDynamicsRepository != null)
                {
                    _customerAddressDynamicsRepository.Dispose();
                    _customerAddressDynamicsRepository = null;
                }

                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_shipmentTermRepository != null)
                {
                    _shipmentTermRepository.Dispose();
                    _shipmentTermRepository = null;
                }

                if (_paymentTermRepository != null)
                {
                    _paymentTermRepository.Dispose();
                    _paymentTermRepository = null;
                }

                if (_materialRepository != null)
                {
                    _materialRepository.Dispose();
                    _materialRepository = null;
                }

                if (_coatingTypeRepository != null)
                {
                    _coatingTypeRepository.Dispose();
                    _coatingTypeRepository = null;
                }

                if (_htsNumberRepository != null)
                {
                    _htsNumberRepository.Dispose();
                    _htsNumberRepository = null;
                }

                if (_rfqRepository != null)
                {
                    _rfqRepository.Dispose();
                    _rfqRepository = null;
                }

                if (_priceSheetRepository != null)
                {
                    _priceSheetRepository.Dispose();
                    _priceSheetRepository = null;
                }

                if (_projectPartRepository != null)
                {
                    _projectPartRepository.Dispose();
                    _projectPartRepository = null;
                }

                if (_stateRepository != null)
                {
                    _stateRepository.Dispose();
                    _stateRepository = null;
                }

                if (_partRepository != null)
                {
                    _partRepository.Dispose();
                    _partRepository = null;
                }
            }

            base.Dispose(disposing);
        }
Exemplo n.º 35
0
 public PaymentTermService(IPaymentTermRepository repository)
 {
     this.repository = repository;
 }
Exemplo n.º 36
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (_projectRepository != null)
                {
                    _projectRepository.Dispose();
                    _projectRepository = null;
                }

                if (_customerDynamicsRepository != null)
                {
                    _customerDynamicsRepository.Dispose();
                    _customerDynamicsRepository = null;
                }

                if (_customerAddressDynamicsRepository != null)
                {
                    _customerAddressDynamicsRepository.Dispose();
                    _customerAddressDynamicsRepository = null;
                }
                if (_foundryDynamicsRepository != null)
                {
                    _foundryDynamicsRepository.Dispose();
                    _foundryDynamicsRepository = null;
                }

                if (_shipmentTermRepository != null)
                {
                    _shipmentTermRepository.Dispose();
                    _shipmentTermRepository = null;
                }

                if (_materialRepository != null)
                {
                    _materialRepository.Dispose();
                    _materialRepository = null;
                }

                if (_coatingTypeRepository != null)
                {
                    _coatingTypeRepository.Dispose();
                    _coatingTypeRepository = null;
                }

                if (_specificationMaterialRepository != null)
                {
                    _specificationMaterialRepository.Dispose();
                    _specificationMaterialRepository = null;
                }

                if (_projectPartRepository != null)
                {
                    _projectPartRepository.Dispose();
                    _projectPartRepository = null;
                }

                if (_priceSheetRepository != null)
                {
                    _priceSheetRepository.Dispose();
                    _priceSheetRepository = null;
                }

                if (_partRepository != null)
                {
                    _partRepository.Dispose();
                    _partRepository = null;
                }

                if (_partDynamicsRepository != null)
                {
                    _partDynamicsRepository.Dispose();
                    _partDynamicsRepository = null;
                }

                if (_htsNumberRepository != null)
                {
                    _htsNumberRepository.Dispose();
                    _htsNumberRepository = null;
                }

                if (_partStatusRepository != null)
                {
                    _partStatusRepository.Dispose();
                    _partStatusRepository = null;
                }

                if (_partTypeRepository != null)
                {
                    _partTypeRepository.Dispose();
                    _partTypeRepository = null;
                }

                if (_paymentTermRepository != null)
                {
                    _paymentTermRepository.Dispose();
                    _paymentTermRepository = null;
                }

                if (_surchargeRepository != null)
                {
                    _surchargeRepository.Dispose();
                    _surchargeRepository = null;
                }

                if (_siteDynamicsRepository != null)
                {
                    _siteDynamicsRepository.Dispose();
                    _siteDynamicsRepository = null;
                }

                if (_patternMaterialRepository != null)
                {
                    _patternMaterialRepository.Dispose();
                    _patternMaterialRepository = null;
                }

                if (_destinationRepository != null)
                {
                    _destinationRepository.Dispose();
                    _destinationRepository = null;
                }

                if (_foundryOrderRepository != null)
                {
                    _foundryOrderRepository.Dispose();
                    _foundryOrderRepository = null;
                }

                if (_customerOrderRepository != null)
                {
                    _customerOrderRepository.Dispose();
                    _customerOrderRepository = null;
                }

                if (_accountCodeRepository != null)
                {
                    _accountCodeRepository.Dispose();
                    _accountCodeRepository = null;
                }
            }

            base.Dispose(disposing);
        }