public InvestorCETO createFullTransferObject(InvestorCE src) { var tDAO = new TransactionDAO(mMP); var dst = new InvestorCETO(); dst.Person = createPersonTransferObject(src.Person); dst.Transactions = tDAO.convertListToTO(src.Transactions); return(dst); }
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 TransactionDAO GetTransactionDAO() { var dao = new TransactionDAO(mMP); return(dao); }