Exemplo n.º 1
0
        public Order UpdateOrder(Order order)
        {
            foreach (Product product in order.Order_Products)
            {
                ProductProvider.Attach <Product>(product);
            }

            ProductProvider.Order.Update(order);
            ProductProvider.SaveChanges();
        }