コード例 #1
0
 public void createAllTable() {
   DeviceBeanDao.createTable(mDaoSession.getDatabase(), true);
   LocationBeanDao.createTable(mDaoSession.getDatabase(), true);
   LostBeanDao.createTable(mDaoSession.getDatabase(), true);
 }
コード例 #2
0
 public void dropAllTable() {
   DeviceBeanDao.dropTable(mDaoSession.getDatabase(), true);
   LocationBeanDao.dropTable(mDaoSession.getDatabase(), true);
   LostBeanDao.dropTable(mDaoSession.getDatabase(), true);
 }