Exemple #1
0
        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);
        }
Exemple #2
0
        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();
        }
Exemple #3
0
        public TransactionDAO GetTransactionDAO()
        {
            var dao = new TransactionDAO(mMP);

            return(dao);
        }