private void detach_SSClassTeachers(SSClassTeacher entity) { this.SendPropertyChanging(); entity.SSClassTeacherType = null; }
public void Delete(SSClassTeacher ssClassTeacher) { _db.SSClassTeachers.DeleteOnSubmit(ssClassTeacher); _db.SubmitChanges(); }
private void attach_SSClassTeachers(SSClassTeacher entity) { this.SendPropertyChanging(); entity.SSClass = this; }
public void Add(SSClassTeacher ssClassTeacher) { _db.SSClassTeachers.InsertOnSubmit(ssClassTeacher); _db.SubmitChanges(); }