1,下载官方的DLL文件 System.Data.SQLite.dll 2,修改微软官方的SqlHelper,打造SQLiteHelper,改造方法很简单,批量替换方式
SqlConnection=》SQLiteConnection
SqlCommand=》SQLiteCommand
SqlPara...
分类:
数据库 时间:
2014-12-15 13:42:39
阅读次数:
265
当我们如上创建了个SQLiteHelper,我们知道会在本地的目录database中生成了个.db数据库文件! 可是我们遇到版本迭代往往要做更多的事情 这时候的会再创建个新的数据库这时候我们编译完成之后发现没有在database相对应的目录下生成一个相对应的表。...
分类:
移动开发 时间:
2014-12-01 22:29:11
阅读次数:
188
SQLite 随机取n行的方法SQLite多线程写锁文件解决方案sqlite和sql server语法上的一些区别sqlite编程插入标示字段,获得新idC# SQLiteHelper类似SqlHelper类实现存取Sqlite数据库在asp.net web 程序中使用Sqlite数据库出处:htt...
分类:
数据库 时间:
2014-10-17 20:15:22
阅读次数:
172
public class SqliteHelper{ //获取连接字符串 private static readonly string str = ConfigurationManager.ConnectionStrings["conStr"].ConnectionString; /// ...
分类:
数据库 时间:
2014-08-07 22:38:35
阅读次数:
301
SQLite作为一个本地文件数据库相当好用,小巧、快速、支持事务、关系型,在之前的一个项目中使用了它,现在把这使用经验总结一下,分享给大家。
分类:
数据库 时间:
2014-07-26 01:26:16
阅读次数:
315
public class SqliteHelper { //获取连接字符串 private static readonly string str = ConfigurationManager.ConnectionStrings["conStr"].Connect...
分类:
数据库 时间:
2014-07-16 20:23:59
阅读次数:
192
http://www.codeproject.com/Articles/746191/SQLite-Helper-CsharpThis small class
(SQLiteHelper.cs) is built on top of System.Data.SQLite.DLL. A referen...
分类:
数据库 时间:
2014-05-23 12:08:00
阅读次数:
558