SqlSugar 带密码 打开Sqlite

        string ConnectionString = ConString;
        SqlSugarClient db = new SqlSugarClient(new ConnectionConfig()
        {
            ConnectionString = ConnectionString,
            DbType = DbType.Sqlite,
            SqlitePassword = "123456",
            IsAutoCloseConnection = false
        }); 

        db.Ado.Open();

需要修改源代码  重洗编译下

转自: https://www.cnblogs.com/BabyRui/p/13858179.html

SqlSugar 带密码 打开Sqlite

 

 

SqlSugar 带密码 打开Sqlite

 

SqlSugar 带密码 打开Sqlite

上一篇:thinkphp5.0.15 update、insert sql注入


下一篇:031.PGSQL-pgsql导入导出数据COPY 和\copy命令