Beispiel #1
0
 public void Delete(ConditioningArticle Obj)
 {
     this.DBLocal.Conditioning.DeleteAllOnSubmit(this.DBLocal.Conditioning.Where(con => con.Sag_Id == Obj.Sag_Id));
     this.DBLocal.ConditioningArticle.DeleteOnSubmit(Obj);
     this.Save();
 }
Beispiel #2
0
 public void Add(ConditioningArticle Obj)
 {
     this.DBLocal.ConditioningArticle.InsertOnSubmit(Obj);
     this.Save();
 }