public InvestorCETO createLeanTransferObject(InvestorCE src) { var dst = new InvestorCETO(); dst.Person = createPersonTransferObject(src.Person); dst.Transactions = new List <TransactionTO>(); return(dst); }
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); }