Files
number_zj/20220330_Vote/Ewide.EntityFramework.Core/dbsettings.Development.json~Stashed changes
2022-03-30 17:54:33 +08:00

56 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
//DefaultConnection这个节点不能删
"DefaultConnection": "",
"ConnectionStrings": [
/*
MySql = 0,
SqlServer = 1,
Sqlite = 2,
Oracle = 3,
PostgreSQL = 4,
Dm = 5,
Kdbndp = 6
*/
{
"Id": 1, // 连接id可以配置到数据库
"DBType": 2, // db类型枚举具体的看上边
"Enabled": false, // 是否开启当前数据库db
"Connection": "WMBlog.db" // 连接字符串
},
{
//目前使用的数据库
"Id": "118_3310_ewide",
"DBType": 0,
"Enabled": true,
"ConnectionString": "Data Source=118.178.224.202;Port=3310;Database=ewide;User ID=root;Password=root.Ewide;pooling=true;sslmode=none;CharSet=utf8;"
},
{
//郑总的线上测试数据库
"Id": "zhengzong_testdb",
"DBType": 0,
"Enabled": true,
"ConnectionString": "Data Source=42.192.248.196;Port=3306;Database=roadflow;User ID=joy;Password=db2202;pooling=true;sslmode=none;CharSet=utf8;"
},
{
//118上合并roadflow之前的数据库
"Id": "118_3306_old_ewide",
"DBType": 0,
"Enabled": true,
"ConnectionString": "Data Source=118.178.224.202;Port=3306;Database=ewide;User ID=root;Password=root;pooling=true;sslmode=none;CharSet=utf8;"
},
{
//不知道干什么用的
"Id": "PgSqlConnection",
"DBType": 4,
"Enabled": true,
"ConnectionString": "HOST=127.0.0.1;PORT=5432;DATABASE=ewide;PASSWORD=postgres;USER ID=postgres;"
},
{
"Id": "MultiTenantConnection",
"DBType": 2,
"Enabled": true,
"ConnectionString": "Data Source=./Dilon_SaaS.db"
}
]
}