List<object> obj = db.Query(new TableMapping(typeof(Mobile)), string.Format("Select * from Mobile where mobile={0}", textbox.Text));
如上所示,查询Mobile表(28W条数据),运行上面那段代码要3秒,有什么优化方法么,表内已经插入索引了。
...全文
2623打赏收藏
WP8 sqlite归属地数据库查询
List obj = db.Query(new TableMapping(typeof(Mobile)), string.Format("Select * from Mobile where mobile={0}", textbox.Text)); 如上所示,查询Mobile表(28W条数据),运行上面那段代码要3秒,有什么优化方法么,表内已经插入索引了。