Пример #1
0
        public InvestorCETO createLeanTransferObject(InvestorCE src)
        {
            var dst = new InvestorCETO();

            dst.Person       = createPersonTransferObject(src.Person);
            dst.Transactions = new List <TransactionTO>();
            return(dst);
        }
Пример #2
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);
        }