partial void Deletelesson(lesson instance);
partial void Updatelesson(lesson instance);
private void detach_lessons(lesson entity) { this.SendPropertyChanging(); entity.course = null; }
partial void Insertlesson(lesson instance);
private void attach_lessons(lesson entity) { this.SendPropertyChanging(); entity.course = this; }