Esempio n. 1
0
 public Test(int idTest, int idTester, int idTrainee, DateTime testDateAsked, DateTime testDateReal, Adress start, Configuration.eTypeVechicle typeVechicle, bool?grade, List <TestArgs> testArgs, string comment)
 {
     IdTest        = idTest;
     IdTester      = idTester;
     IdTrainee     = idTrainee;
     TestDateAsked = testDateAsked;
     TestDateReal  = testDateReal;
     Start         = start;
     TypeVechicle  = typeVechicle;
     Grade         = grade;
     TestArgs      = testArgs;
     Comment       = comment;
 }
 // with last test
 public Trainee(string firstName, string lastName, int id, DateTime bDay, Configuration.eSex sex, int phoneNum, Adress adress, Configuration.eTypeVechicle typeVechicle, eGearBox gearBox, string schoolName, string teacherName, int nLessons, DateTime lastTest)
 {
     FirstName    = firstName;
     LastName     = lastName;
     Id           = id;
     BDay         = bDay;
     Sex          = sex;
     PhoneNum     = phoneNum;
     Adress       = adress;
     TypeVechicle = typeVechicle;
     GearBox      = gearBox;
     SchoolName   = schoolName;
     TeacherName  = teacherName;
     NLessons     = nLessons;
     LastTest     = lastTest;
 }