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