private void detach_TeacherModules(TeacherModule entity)
 {
     this.SendPropertyChanging();
     entity.Teacher = null;
 }
 private void attach_TeacherModules(TeacherModule entity)
 {
     this.SendPropertyChanging();
     entity.Teacher = this;
 }
 partial void UpdateTeacherModule(TeacherModule instance);
 partial void DeleteTeacherModule(TeacherModule instance);
 partial void InsertTeacherModule(TeacherModule instance);