1、数据驱动库文件结构 Constant为配置文件,存放固定信息; tb_User对应数据表; PubConstant、DESEncrypt、DbHelperSQLite为通用文件。具体代码如下。 2、用NuGet安装System.Data.SQLite 3、Constant.cs
public class Constant{//set database pathpublic static string dbPath = \"\";}
4、PubConstant.cs
水利万物而不争,
而万物莫能与之争。