Esempio n. 1
0
 public BankAccountManager(IBankAccounts bankAccounts, IBankAccountDao bankAccountDao, IWasteBook wasteBook, Guid elseFilialeId)
 {
     _bankAccountDao         = bankAccountDao;
     _bankAccounts           = bankAccounts;
     _wasteBookDao           = wasteBook;
     _reckoningElseFilialeid = elseFilialeId == Guid.Empty ? new Guid(ConfigManage.GetConfigValue("RECKONING_ELSE_FILIALEID")) : elseFilialeId;
 }
Esempio n. 2
0
 public BankAccountManager(Environment.GlobalConfig.DB.FromType fromType)
 {
     _bankAccountDao         = InventoryInstance.GetBankAccountDao(fromType);
     _bankAccounts           = InventoryInstance.GetBankAccountsDao(fromType);
     _wasteBookDao           = InventoryInstance.GetWasteBookDao(fromType);
     _reckoningElseFilialeid = new Guid(ConfigManage.GetConfigValue("RECKONING_ELSE_FILIALEID"));
 }