private List <SiblingBDO> ToSiblingBDOList(List <Sibling> siblings) { List <SiblingBDO> sibList = new List <SiblingBDO>(); foreach (Sibling s in siblings) { SiblingBDO sbdo = new SiblingBDO(); ConvertSiblingToSiblingBDO(s, sbdo); sibList.Add(sbdo); } return(sibList); }
public List <SiblingBDO> ToSiblingBDOList(List <Sibling> slist) { List <SiblingBDO> sbdoList = new List <SiblingBDO>(); foreach (Sibling s in slist) { SiblingBDO sbdo = new SiblingBDO(); TranslateSiblingToSiblingBDO(s, sbdo); sbdoList.Add(sbdo); } return(sbdoList); }
private void ConvertSiblingToSiblingBDO(Sibling s, SiblingBDO sib) { sib.SiblingId = s.SiblingId; sib.StudentId = s.StudentId; sib.SiblingStudentId = s.SiblingStudentId; }
private void ConvertSiblingBDOToSibling(SiblingBDO s, Sibling sib, string studentId) { sib.StudentId = studentId; sib.SiblingStudentId = s.SiblingStudentId; }
public void TranslateSiblingBDOToSibling(SiblingBDO s, Sibling sbdo) { sbdo.SiblingId = s.SiblingId; sbdo.SiblingStudentId = s.SiblingStudentId; sbdo.StudentId = s.StudentId; }