コード例 #1
0
ファイル: frmTsk_UpdateTeacher.cs プロジェクト: ntlzz93/Temp
 public List<TeacherEN> GetTeacherList()
 {
     List<TeacherEN> aList = new List<TeacherEN>();
     foreach (var temp in aTeacherBO.Select_All())
     {
         TeacherEN aTeacherEN = new TeacherEN();
         aTeacherEN.SetValue(temp);
         aList.Add(aTeacherEN);
     }
     return aList;
 }
コード例 #2
0
ファイル: frmTsk_SearchTeacher.cs プロジェクト: ntlzz93/Temp
 private List<TeacherEN> GetListDataByName(string name)
 {
     List<TeacherEN> aListTeacher = new List<TeacherEN>();
     TeacherBO aTeacherBO = new TeacherBO();
     foreach (var temp in aTeacherBO.Select_ByName(name))
     {
         TeacherEN aTeacherEN = new TeacherEN();
         aTeacherEN.SetValue(temp);
         aListTeacher.Add(aTeacherEN);
     }
     return aListTeacher;
 }
コード例 #3
0
ファイル: frmTsk_SearchTeacher.cs プロジェクト: ntlzz93/Temp
 private List<TeacherEN> GetListDataByID(int id)
 {
     List<TeacherEN> aListTeacher = new List<TeacherEN>();
     TeacherBO aTeacherBO = new TeacherBO();
     foreach (var temp in aTeacherBO.Select_ById(id))
     {
         TeacherEN aTeacherEN = new TeacherEN();
         aTeacherEN.SetValue(temp);
         aListTeacher.Add(aTeacherEN);
     }
     return aListTeacher;
 }