public static List <Teacher> TeacherList() { var result = (from teacher in SAADBContext.GetInstance().Teachers let FullName = teacher.LastName + ", " + teacher.FirstName select teacher ).ToList(); return(result); }
public int GetStudentId(string studentno) { return(SAADBContext.GetInstance().Students.SingleOrDefault(t => t.StudentNo == studentno).StudentId); }
public EnrollmentModule() { InitializeComponent(); _context = new SAADBContext(); }
public RequirementChecklist() { InitializeComponent(); _context = new SAADBContext(); }
public StudentRecord() { InitializeComponent(); _context = new SAADBContext(); }
public SectionForm(int SectionId) { InitializeComponent(); _context = new SAADBContext(); _section = _context.Sections.FirstOrDefault(t => t.SectionId == SectionId); }
public SectionForm() { InitializeComponent(); _context = new SAADBContext(); }
public StudentMasterList() { InitializeComponent(); _context = new SAADBContext(); }
public Schedule() { InitializeComponent(); _context = new SAADBContext(); }
public ManageSubjects() { InitializeComponent(); _context = new SAADBContext(); }