private void attach_Defect1(Defect entity)
 {
     this.SendPropertyChanging();
     entity.DefectUser1 = this;
 }
 private void detach_Defect(Defect entity)
 {
     this.SendPropertyChanging();
     entity.DefectUser = null;
 }
 partial void UpdateDefect(Defect instance);
 partial void DeleteDefect(Defect instance);
 partial void InsertDefect(Defect instance);