Exemple #1
0
 public TenantAppService(
     TenantManager tenantManager,
     IRepository <OrganizationExtended, long> organizationRepository, IRepository <TenantExtendedUnit> tenantExtendedUnitRepository,
     IUnitOfWorkManager unitOfWorkManager, IAppFolders appFolders, IRepository <AddressUnit, long> addressRepository, TenantExtendedUnitManager tenantExtendedManager,
     IAddressUnitAppService addressAppService, IBinaryObjectManager binaryObjectManager, IRepository <BinaryObject, Guid> binaryObjectRepository, IRepository <ConnectionStringUnit> connectionStringRepository,
     IRepository <VendorUnit> vendorUnitRepository, IRepository <User, long> userUnitRepository, IRepository <Role> roleUnitRepository, IRepository <CustomerUnit> customerUnitRepository,
     IRepository <EmployeeUnit> employeeUnitRepository, IRepository <CoaUnit> coaUnitRepository)
 {
     _tenantManager                = tenantManager;
     _organizationRepository       = organizationRepository;
     _tenantExtendedUnitRepository = tenantExtendedUnitRepository;;
     _unitOfWorkManager            = unitOfWorkManager;
     _appFolders                 = appFolders;
     _addressRepository          = addressRepository;
     _tenantExtendedManager      = tenantExtendedManager;
     _addressAppService          = addressAppService;
     _binaryObjectManager        = binaryObjectManager;
     _binaryObjectRepository     = binaryObjectRepository;
     _connectionStringRepository = connectionStringRepository;
     _vendorUnitRepository       = vendorUnitRepository;
     _userUnitRepository         = userUnitRepository;
     _roleUnitRepository         = roleUnitRepository;
     _customerUnitRepository     = customerUnitRepository;
     _employeeUnitRepository     = employeeUnitRepository;
     _coaUnitRepository          = coaUnitRepository;
 }
Exemple #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="customerUnitManager"></param>
 /// <param name="customerUnitRepository"></param>
 /// <param name="unitOfWorkManager"></param>
 /// <param name="addressUnitAppService"></param>
 /// <param name="addressAppService"></param>
 /// <param name="addressRepository"></param>
 /// <param name="customerPaymentTermRepository"></param>
 /// <param name="salesRepRepository"></param>
 public CustomerUnitAppService(CustomerUnitManager customerUnitManager,
                               IRepository <CustomerUnit> customerUnitRepository,
                               IUnitOfWorkManager unitOfWorkManager,
                               AddressUnitAppService addressUnitAppService,
                               IAddressUnitAppService addressAppService,
                               IRepository <AddressUnit, long> addressRepository,
                               IRepository <CustomerPaymentTermUnit> customerPaymentTermRepository,
                               IRepository <SalesRepUnit> salesRepRepository)
 {
     _customerUnitManager           = customerUnitManager;
     _customerUnitRepository        = customerUnitRepository;
     _unitOfWorkManager             = unitOfWorkManager;
     _addressUnitAppService         = addressUnitAppService;
     _addressAppService             = addressAppService;
     _addressRepository             = addressRepository;
     _customerPaymentTermRepository = customerPaymentTermRepository;
     _salesRepRepository            = salesRepRepository;
 }
Exemple #3
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="bankAccountUnitManager"></param>
 /// <param name="bankAccountUnitRepository"></param>
 /// <param name="addressAppService"></param>
 /// <param name="addressUnitRepository"></param>
 /// <param name="accountUnitRepository"></param>
 /// <param name="jobUnitRepository"></param>
 /// <param name="typeOfUploadFileUnitRepository"></param>
 /// <param name="typeOfCheckStockUnitRepository"></param>
 /// <param name="vendorUnitRepository"></param>
 /// <param name="batchUnitRepository"></param>
 /// <param name="bankAccountPaymentRangeUnit"></param>
 /// <param name="bankAccountPaymentRangeUnitManager"></param>
 /// <param name="accountCache"></param>
 /// <param name="customAppSession"></param>
 /// <param name="coaUnitRepository"></param>
 public CreditCardCompanyAppService(BankAccountUnitManager bankAccountUnitManager, IRepository<BankAccountUnit, long> bankAccountUnitRepository,
     IAddressUnitAppService addressAppService, IRepository<AddressUnit, long> addressUnitRepository, IRepository<AccountUnit, long> accountUnitRepository,
      IRepository<TypeOfUploadFileUnit, int> typeOfUploadFileUnitRepository,
     IRepository<TypeOfCheckStockUnit, int> typeOfCheckStockUnitRepository, IRepository<VendorUnit, int> vendorUnitRepository,
     IRepository<BatchUnit, int> batchUnitRepository, IAccountCache accountCache, CustomAppSession customAppSession,
     IRepository<CoaUnit> coaUnitRepository)
 {
     _bankAccountUnitManager = bankAccountUnitManager;
     _bankAccountUnitRepository = bankAccountUnitRepository;
     _addressUnitRepository = addressUnitRepository;
     _addressAppService = addressAppService;
     _accountUnitRepository = accountUnitRepository;
     _typeOfCheckStockUnitRepository = typeOfCheckStockUnitRepository;
     _typeOfUploadFileUnitRepository = typeOfUploadFileUnitRepository;
     _vendorUnitRepository = vendorUnitRepository;
     _batchUnitRepository = batchUnitRepository;
     _accountCache = accountCache;
     _customAppSession = customAppSession;
     _coaUnitRepository = coaUnitRepository;
     _bankAccountUnitManager.ServiceFrom = "CreditCardCompany";
 }