public void CreateTest()
        {
            Student student = new Student("Create1", "Create1", new DateTime(2001, 01, 01));

            manager.Create(student);
            List <Student> students    = manager.Read();
            int            idToCheck   = students.Last().Id;
            Student        testStudent = manager.SelectStudentById(idToCheck);

            Assert.IsNotNull(testStudent);
        }
예제 #2
0
 public Student Read(string key)
 {
     return(studentDao.Read(key));
 }
예제 #3
0
 public T Read <T>(string key)
 {
     return(stDao.Read <T>(key));
 }