增加连接串加密,粤北安装版本封存
This commit is contained in:
@ -8,7 +8,7 @@ namespace HT.Cloud.DataBase
|
||||
public class DBContexHelper
|
||||
{
|
||||
private static string defaultDbType = GlobalContext.SystemConfig.DBProvider;
|
||||
private static string defaultDbConnectionString = GlobalContext.SystemConfig.DBConnectionString;
|
||||
private static string defaultDbConnectionString = AESKeyEncrypt.DecryptDES(GlobalContext.SystemConfig.DBConnectionString);
|
||||
|
||||
public static ConnectionConfig Contex(string ConnectStr = "", string providerName = "")
|
||||
{
|
||||
|
@ -15,7 +15,7 @@ namespace HT.Cloud.DataBase.Extensions
|
||||
{
|
||||
public class DbHelper
|
||||
{
|
||||
private static string connstring = GlobalContext.SystemConfig.DBConnectionString;
|
||||
private static string connstring = AESKeyEncrypt.DecryptDES(GlobalContext.SystemConfig.DBConnectionString);
|
||||
private static string dbType = GlobalContext.SystemConfig.DBProvider;
|
||||
|
||||
public static int ExecuteSqlCommand(string database, string backupPath)
|
||||
|
Reference in New Issue
Block a user