Пример #1
0
 /** Drops underlying database table using DAOs. */
 public static void dropAllTables(SQLiteDatabase db, boolean ifExists) {
   SimpleEntityDao.dropTable(db, ifExists);
   SimpleEntityNotNullDao.dropTable(db, ifExists);
   TestEntityDao.dropTable(db, ifExists);
   RelationEntityDao.dropTable(db, ifExists);
   DateEntityDao.dropTable(db, ifExists);
   SpecialNamesEntityDao.dropTable(db, ifExists);
   AbcdefEntityDao.dropTable(db, ifExists);
   ToManyTargetEntityDao.dropTable(db, ifExists);
   ToManyEntityDao.dropTable(db, ifExists);
   JoinManyToDateEntityDao.dropTable(db, ifExists);
   TreeEntityDao.dropTable(db, ifExists);
   AnActiveEntityDao.dropTable(db, ifExists);
   ExtendsImplementsEntityDao.dropTable(db, ifExists);
   StringKeyValueEntityDao.dropTable(db, ifExists);
   AutoincrementEntityDao.dropTable(db, ifExists);
   CustomTypeEntityDao.dropTable(db, ifExists);
   IndexedStringEntityDao.dropTable(db, ifExists);
 }