Esempio n. 1
0
        // Deletar tudo
        public void DeleteAllProducts()
        {
            List <Product> products = GetProductList();

            WriteOperations.DeleteAll(sqliteconnection, products);
        }
Esempio n. 2
0
 public void DeleteAllDepartment()
 {
     WriteOperations.DeleteAll(connection, GetAllDepartment(), true);
 }
Esempio n. 3
0
        // Deletar tudo
        public void DeleteAllCategories()
        {
            List <Category> categories = GetCategories();

            WriteOperations.DeleteAll(sqliteconnection, categories);
        }
Esempio n. 4
0
 public void RefreshDepartment(IList <Department> listDepartment)
 {
     WriteOperations.DeleteAll(connection, GetAllDepartment(), true);
     WriteOperations.InsertOrReplaceAllWithChildren(connection, listDepartment, true);
 }