平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SqlSugar.Development.json 1.7 KiB

3 months ago
3 months ago
3 months ago
12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. //sqlSugar设置
  3. "SqlSugarSettings": {
  4. //SqlSugar连接字符串配置
  5. "ConnectionStrings": [
  6. {
  7. "ConfigId": "SafeCampus", //租户ID
  8. //"ConnectionString": "PORT=5432;DATABASE=SafeCampusTest;HOST=localhost;PASSWORD=wxh@0000;USER ID=postgres;", //连接字符串
  9. "ConnectionString": "PORT=5432;DATABASE=SafeCampus;HOST=1.14.43.23;PASSWORD=wxh@9695;USER ID=postgres;", //连接字符串
  10. "DbType": "PostgreSQL", //数据库类型
  11. "IsAutoCloseConnection": true, //是否自动释放
  12. "IsUnderLine": false //是否驼峰转下划线
  13. },
  14. //{
  15. // "ConfigId": "SafeCampus", //租户ID
  16. // "ConnectionString": "Data Source=./SafeCampus.db", //连接字符串
  17. // "DbType": "Sqlite", //数据库类型
  18. // "IsAutoCloseConnection": true, //是否自动释放
  19. // "IsUnderLine": false //是否驼峰转下划线
  20. //}
  21. // {
  22. // "ConfigId": "SafeCampus", //租户ID
  23. // "ConnectionString": "server=192.168.1.3;Database=SafeCampus;Uid=root;Pwd=123456;CharSet=utf8mb4;", //连接字符串
  24. // "DbType": "MySql", //数据库类型
  25. // "IsAutoCloseConnection": true, //是否自动释放
  26. // "IsUnderLine": false //是否驼峰转下划线
  27. // },
  28. // {
  29. // "ConfigId": "SafeCampus", //租户ID
  30. // "ConnectionString": "Server=192.168.1.16;Database=SafeCampus;User=sa;Password=123456;MultipleActiveResultSets=True;", //连接字符串
  31. // "DbType": "SqlServer", //数据库类型
  32. // "IsAutoCloseConnection": true, //是否自动释放
  33. // "IsUnderLine": false //是否驼峰转下划线
  34. // }
  35. ]
  36. }
  37. }