Esempio n. 1
0
 public int Delete(DetailOrder obj)
 {
     db.DetailOrders.Remove(obj);
     return(db.SaveChanges());
 }
Esempio n. 2
0
 public int Insert(DetailOrder obj)
 {
     db.DetailOrders.Add(obj);
     return(db.SaveChanges());
 }