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(MemoryPersistence mp) { mMP = mp; }
public DAOFactory(MemoryPersistence mp) { mMP = mp; }
public InvestorDAO(MemoryPersistence mp) { mMP = mp; }
public TransactionDAO(MemoryPersistence mp) { mMP = mp; }