コード例 #1
0
 /// <summary>
 /// Initializes a new instance of
 /// type BanksService.
 /// </summary>
 /// <param name="BanksRepository"></param>
 /// <param name="unitOfWork"></param>
 public BanksService(
     IBanksRepository BanksRepository,
     IBankAccountChartRepository bankAccountChartRepository,
     IAccountChartDocumentRepository accountChartDocumentRepository,
     ILanguageService languageService,
     IUnitOfWork unitOfWork)
 {
     this._BanksRepository                = BanksRepository;
     this._bankAccountChartRepository     = bankAccountChartRepository;
     this._accountChartDocumentRepository = accountChartDocumentRepository;
     this._languageService                = languageService;
     this._unitOfWork = unitOfWork;
 }
コード例 #2
0
        /// <summary>
        /// Initializes a new instance of
        /// type TransactionsService.
        /// </summary>
        /// <param name="TransactionsRepository"></param>
        /// <param name="unitOfWork"></param>
        public CostCenterReportsService(
            IResourcesService resourcesService,
            IBankMovementsRepository bankMovementsRepository,
            IPaymentMovmentsRepository paymentMovmentsRepository,
            IPurchaseInvoicesRepository purchaseInvoicesRepository,
            IPurchaseRebatesRepository purchaseRebatesRepository,
            IDonationsRepository donationsRepository,
            ISalesBillRepository salesBillRepository,
            ISalesRebatesRepository salesRebatesRepository,
            //IStoreMovementsRepository storeMovementsRepository,
            ICurrentUserService currentUserService,
            IInventoryMovementsRepository inventoryMovementsRepository,
            ISettingsService settingsService,
            IJournalsRepository JournalsRepository,
            IVendorsRepository vendorsRepository,
            IBanksRepository banksRepository,
            ICostCentersRepository costCentersRepository,
            ICurrencyRatesService currencyRatesService,

            ITransactionsRepository TransactionsRepository,
            IAccountChartsRepository AccountChartsRepository,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._resourcesService           = resourcesService;
            this._bankMovementsRepository    = bankMovementsRepository;
            this._paymentMovmentsRepository  = paymentMovmentsRepository;
            this._purchaseInvoicesRepository = purchaseInvoicesRepository;
            this._purchaseRebatesRepository  = purchaseRebatesRepository;
            this._donationsRepository        = donationsRepository;
            this._salesBillRepository        = salesBillRepository;
            this._salesRebatesRepository     = salesRebatesRepository;
            //this._storeMovementsRepository = storeMovementsRepository;
            this._currentUserService           = currentUserService;
            this._inventoryMovementsRepository = inventoryMovementsRepository;
            this._settingsService       = settingsService;
            this._vendorsRepository     = vendorsRepository;
            this._banksRepository       = banksRepository;
            this._costCentersRepository = costCentersRepository;
            this._currencyRatesService  = currencyRatesService;

            this._TransactionsRepository  = TransactionsRepository;
            this._AccountChartsRepository = AccountChartsRepository;
            this._languageService         = languageService;
            this._unitOfWork = unitOfWork;
        }
コード例 #3
0
        /// <summary>
        /// Initializes a new instance of
        /// type JournalPostingsService.
        /// </summary>
        /// <param name="bankMovementsRepository"></param>
        /// <param name="paymentMovmentsRepository"></param>
        /// <param name="purchaseInvoicesRepository"></param>
        /// <param name="purchaseRebatesRepository"></param>
        /// <param name="donationsRepository"></param>
        /// <param name="salesBillRepository"></param>
        /// <param name="salesRebatesRepository"></param>
        /// <param name="currentUserService"></param>
        /// <param name="inventoryMovementsRepository"></param>
        /// <param name="settingsService"></param>
        /// <param name="JournalsRepository"></param>
        /// <param name="JournalPostingsRepository"></param>
        /// <param name="languageService"></param>
        /// <param name="unitOfWork"></param>
        public ReportsService(
            IBankMovementsRepository bankMovementsRepository,
            IPaymentMovmentsRepository paymentMovmentsRepository,
            IPurchaseInvoicesRepository purchaseInvoicesRepository,
            IPurchaseRebatesRepository purchaseRebatesRepository,
            IDonationsRepository donationsRepository,
            ISalesBillRepository salesBillRepository,
            ISalesRebatesRepository salesRebatesRepository,
            //IStoreMovementsRepository storeMovementsRepository,
            ICurrentUserService currentUserService,
            IInventoryMovementsRepository inventoryMovementsRepository,
            ISettingsService settingsService,
            IJournalsRepository JournalsRepository,
            IVendorsRepository vendorsRepository,
            ISafesRepository safesRepository,
            IBanksRepository banksRepository,

            IJournalPostingsRepository JournalPostingsRepository,
            ILanguageService languageService,
            IUnitOfWork unitOfWork)
        {
            this._bankMovementsRepository    = bankMovementsRepository;
            this._paymentMovmentsRepository  = paymentMovmentsRepository;
            this._purchaseInvoicesRepository = purchaseInvoicesRepository;
            this._purchaseRebatesRepository  = purchaseRebatesRepository;
            this._donationsRepository        = donationsRepository;
            this._salesBillRepository        = salesBillRepository;
            this._salesRebatesRepository     = salesRebatesRepository;
            //this._storeMovementsRepository = storeMovementsRepository;
            this._currentUserService           = currentUserService;
            this._inventoryMovementsRepository = inventoryMovementsRepository;
            this._settingsService    = settingsService;
            this._JournalsRepository = JournalsRepository;
            this._vendorsRepository  = vendorsRepository;
            this._safesRepository    = safesRepository;
            this._banksRepository    = banksRepository;

            this._JournalPostingsRepository = JournalPostingsRepository;
            this._languageService           = languageService;
            this._unitOfWork = unitOfWork;
        }
コード例 #4
0
 public LegalEntitiesRepository(ObjectContext context)
     : base(context)
 {
     banksRepository = new BanksRepository(context);
     legalEntitiesBanksRepository = new LegalEntityBanksRepository(context);
 }