Esempio n. 1
0
 partial void DeleteCourseArrange(CourseArrange instance);
Esempio n. 2
0
 partial void UpdateCourseArrange(CourseArrange instance);
Esempio n. 3
0
		private void detach_CourseArrange(CourseArrange entity)
		{
			this.SendPropertyChanging();
			entity.CourseInfo = null;
		}
Esempio n. 4
0
 partial void InsertCourseArrange(CourseArrange instance);
Esempio n. 5
0
 protected bool CanBeBooked(CourseArrange arrange, StudentInfo student)
 {
     if (student == null || arrange == null || arrange.Capacity <= arrange.CourseBookInfo.Count || IsBooked(student, arrange.CourseInfo))
         return false;
     else return true;
 }