コード例 #1
0
 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;
 }
コード例 #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public BusinessPartnerRelationTypeService(IBusinessPartnerRelationshipTypeRepository businessPartnerRelationshipTypeRepository, IBusinessPartnerRelationshipRepository bPRelationshipRepository)
 {
     this.businessPartnerRelationshipTypeRepository = businessPartnerRelationshipTypeRepository;
     this.bPRelationshipRepository = bPRelationshipRepository;
 }