Beispiel #1
0
 partial void DeleteCourseArrange(CourseArrange instance);
Beispiel #2
0
 partial void UpdateCourseArrange(CourseArrange instance);
Beispiel #3
0
		private void detach_CourseArrange(CourseArrange entity)
		{
			this.SendPropertyChanging();
			entity.CourseInfo = null;
		}
Beispiel #4
0
 partial void InsertCourseArrange(CourseArrange instance);
 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;
 }