Ejemplo n.º 1
0
            public void deleteAllProduct(Models.databaseDataContext data)
            {
                //ShoppingCardHelper.getInstance().deleteAllOrderDetails(data);

                data.tbl_Products.DeleteAllOnSubmit(data.tbl_Products);
                data.SubmitChanges();
            }
Ejemplo n.º 2
0
            public void deleteAllOrders(Models.databaseDataContext data)
            {
                deleteAllOrderDetails(data);

                data.Orders.DeleteAllOnSubmit(data.Orders);
                data.SubmitChanges();
            }
Ejemplo n.º 3
0
            public void deleteAllProductCategory(Models.databaseDataContext data)
            {
                deleteAllProduct(data);

                data.tbl_product_types.DeleteAllOnSubmit(data.tbl_product_types);
                data.SubmitChanges();
            }
Ejemplo n.º 4
0
            public void deleteAllNewsCategory(Models.databaseDataContext data)
            {
                deleteAllNews(data);

                data.tbl_new_types.DeleteAllOnSubmit(data.tbl_new_types);
                data.SubmitChanges();
            }
Ejemplo n.º 5
0
 public void deleteAllAdmins(Models.databaseDataContext data)
 {
     data.tbl_admins.DeleteAllOnSubmit(data.tbl_admins);
     data.SubmitChanges();
 }
Ejemplo n.º 6
0
 public void deleteAllCustomers(Models.databaseDataContext data)
 {
     data.Customers.DeleteAllOnSubmit(data.Customers);
     data.SubmitChanges();
 }
Ejemplo n.º 7
0
 public void deleteAllNews(Models.databaseDataContext data)
 {
     data.tbl_news.DeleteAllOnSubmit(data.tbl_news);
     data.SubmitChanges();
 }
Ejemplo n.º 8
0
 public void deleteAllProducer(Models.databaseDataContext data)
 {
     deleteAllProduct(data);
     data.tbl_producers.DeleteAllOnSubmit(data.tbl_producers);
     data.SubmitChanges();
 }
Ejemplo n.º 9
0
 public void deleteAllPromotionDetails(Models.databaseDataContext data)
 {
     data.tbl_promotion_details.DeleteAllOnSubmit(data.tbl_promotion_details);
     data.SubmitChanges();
 }