Files
number_zj/20220330_Vote/Ewide.EntityFramework.Core/dbsettings.Development.json
2023-03-09 22:16:03 +08:00

42 lines
1.1 KiB
JSON
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": "Data Source=118.178.224.202;Port=3310;Database=yongjiangbei_vote;User ID=root;Password=root.Ewide;pooling=true;sslmode=none;CharSet=utf8;",
"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" // 连接字符串
},
{
//目前使用的数据库 Ewide.
"Id": "118_3310_ewide",
"DBType": 0,
"Enabled": true,
"ConnectionString": ";"
},
{
//不知道干什么用的
"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"
}
]
}