private void detach_StudentLectures(StudentLecture entity)
 {
     this.SendPropertyChanging();
     entity.Lecture = null;
 }
 private void attach_StudentLectures(StudentLecture entity)
 {
     this.SendPropertyChanging();
     entity.Lecture = this;
 }
 partial void UpdateStudentLecture(StudentLecture instance);
 partial void DeleteStudentLecture(StudentLecture instance);
 partial void InsertStudentLecture(StudentLecture instance);