public Service1() { mMP = new DBAL.MemoryPersistence(@"C:\__debug.txt"); mMP.LoadFromFile(); var daoFactory = new DBAL.DAOFactory(mMP); mDAO = daoFactory.GetTransactionDAO(); iDAO = daoFactory.GetInvestorDAO(); bDAO = daoFactory.GetBrockerDAO(); Refresh(); }
public BrockerDAO GetBrockerDAO() { var dao = new BrockerDAO(mMP); return(dao); }
public InvestorsTOA(DBAL.BrockerDAO bDAO, DBAL.InvestorDAO iDAO) { mBrockerDAO = bDAO; mInvestorDAO = iDAO; }