コード例 #1
0
        public BusinessPartnerBaseDataResponse LoadAll()
        {
            BusinessPartnerBaseDataResponse response = new BusinessPartnerBaseDataResponse();

            response.ResponseCompanies                        = companyRepository.GetAll();
            response.ResponsePaymentTerms                     = paymentTermRepository.GetAll();
            response.ResponseBusinessLegalStatuses            = businessLegalStatusRepository.GetAll();
            response.ResponseBPRatingTypes                    = bpRatingTypeRepository.GetAll();
            response.ResponseBusinessPartners                 = businessPartnerRepository.GetAll();
            response.ResponseDealingEmployees                 = employeeRepository.GetAll();
            response.ResponseOccupationTypes                  = occupationTypeRepository.GetAll();
            response.ResponseBusinessPartnerCompanies         = businessPartnerCompanyRepository.GetAll();
            response.ResponseCountries                        = countryRepository.GetAll();
            response.ResponseBusinessSegments                 = businessSegmentRepository.GetAll();
            response.ResponseBusinessPartnerSubTypes          = businessPartnerSubTypeRepository.GetAll();
            response.ResponsePhoneTypes                       = phoneTypeRepository.GetAll();
            response.ResponseAddressTypes                     = addressTypeRepository.GetAll();
            response.ResponseMarketingChannels                = marketingChannelRepository.GetAll();
            response.ResponseBusinessPartnerRelationshipTypes = businessPartnerRelationshipTypeRepository.GetAll();
            response.ResponseRegions    = regionRepository.GetAll();
            response.ResponseSubRegions = subRegionRepository.GetAll();
            response.ResponseCities     = cityRepository.GetAll();
            response.ResponseAreas      = areaRepository.GetAll();
            return(response);
        }
コード例 #2
0
 /// <summary>
 /// Load All  Business PartnerSub Types
 /// </summary>
 public IEnumerable <BusinessPartnerSubType> LoadAll()
 {
     return(businessPartnerSubTypeRepository.GetAll());
 }