public void deleteAllProduct(Models.databaseDataContext data)
            {
                //ShoppingCardHelper.getInstance().deleteAllOrderDetails(data);

                data.tbl_Products.DeleteAllOnSubmit(data.tbl_Products);
                data.SubmitChanges();
            }
            public void deleteAllOrders(Models.databaseDataContext data)
            {
                deleteAllOrderDetails(data);

                data.Orders.DeleteAllOnSubmit(data.Orders);
                data.SubmitChanges();
            }
            public void deleteAllProductCategory(Models.databaseDataContext data)
            {
                deleteAllProduct(data);

                data.tbl_product_types.DeleteAllOnSubmit(data.tbl_product_types);
                data.SubmitChanges();
            }
Exemple #4
0
            public void deleteAllNewsCategory(Models.databaseDataContext data)
            {
                deleteAllNews(data);

                data.tbl_new_types.DeleteAllOnSubmit(data.tbl_new_types);
                data.SubmitChanges();
            }
 public void deleteAllAdmins(Models.databaseDataContext data)
 {
     data.tbl_admins.DeleteAllOnSubmit(data.tbl_admins);
     data.SubmitChanges();
 }
 public void deleteAllCustomers(Models.databaseDataContext data)
 {
     data.Customers.DeleteAllOnSubmit(data.Customers);
     data.SubmitChanges();
 }
 public void deleteAllNews(Models.databaseDataContext data)
 {
     data.tbl_news.DeleteAllOnSubmit(data.tbl_news);
     data.SubmitChanges();
 }
Exemple #8
0
 public void deleteAllProducer(Models.databaseDataContext data)
 {
     deleteAllProduct(data);
     data.tbl_producers.DeleteAllOnSubmit(data.tbl_producers);
     data.SubmitChanges();
 }
Exemple #9
0
 public void deleteAllPromotionDetails(Models.databaseDataContext data)
 {
     data.tbl_promotion_details.DeleteAllOnSubmit(data.tbl_promotion_details);
     data.SubmitChanges();
 }