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); }
private void loadInvestor(InvestorCETO investor) { if (null == investor) { return; } bindingSource1.Clear(); foreach (var t in investor.Transactions) { bindingSource1.Add(t); } }
public InvestorCETO GetInvestor(int id) { InvestorCETO data = null; try { data = Service.GetInvestor(id); } catch (FaultException <NotFoundException> ex) { MessageBox.Show(ex.Detail.Message); } finally { } return(data); }
public int Insert(InvestorCETO t) { throw new NotImplementedException(); }
public bool Delete(InvestorCETO t) { throw new NotImplementedException(); }