一:前言 这个是以前写的操作MySQL数据库的小型框架,如果是中小型项目用起来也是很不错的,里面提供Filter.ModelPart.Relationship等机制实现操作数据库时的SQL语句的拼接和返回数据的转换功能: 对数据源的参数配置在启动工程的App.config里配置,后面有github的源码地址. 二:用法 代码如下: class Program { static void Main(string[] args) { var result = DalManager.GetAllRec…
from : http://blog.chinaunix.NET/uid-21556133-id-118208.html 安装Sqlite3: 从www.sqlite.org上下载Sqlite3.2.2运源代码,依照Readme中的步骤: tar xzf sqlite3.2.2.tar.gz mkdir bld cd bld ../sqlite3.2.2/configure make make install 然后在shell下运行 sqlite3 test.db命令可以检验是否已经安装成功.…