示例#1
0
 public void save() {
   DBAdapter db = new DBAdapter(context);
   db.open();
   dbid = db.updateBank(this); // Update ID on insert as well.
   db.close();
 }
示例#2
0
 public void disable() {
   DBAdapter db = new DBAdapter(context);
   db.open();
   db.disableBank(dbid);
   db.close();
 }