接着上文《Android数据库的事务》,往person数据表中插入50条数据publicvoidtestAdd()throwsException{PersonDaodao=newPersonDao(getContext());//.add("wangwu","123",50000);//dao.add("zhangsan","234",17000);intnumber=857600001;Randomrandom=newRandom();for(inti=0;i<50;i++){dao...
查看全文