Esempio n. 1
0
 public sGroup(Group group, sSchedule schedule) : base(group)
 {
     if (group == null)
     {
         return;
     }
     Specialization = group.Specialization == null ? null : schedule.sDictionaries.Specializations[group.Specialization.GetHashCode()];
     YearOfStudy    = group.YearOfStudy == null ? null : schedule.sDictionaries.YearsOfStudy[group.YearOfStudy.GetHashCode()];
 }
Esempio n. 2
0
 public sGroup(int id, string name, sSpecialization specialization, sYearOfStudy yearOfStudy) : base(id, name)
 {
     Specialization = specialization;
     YearOfStudy    = yearOfStudy;
 }