添加 共赴宁波之春 报名网页
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Ewide.EntityFramework.Core
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseMySql(GetDatabaseConnectionString(), ServerVersion.FromString("5.5.53"));
|
||||
optionsBuilder.UseMySql(GetDatabaseConnectionString(), ServerVersion.Parse("5.5.53"));
|
||||
|
||||
base.OnConfiguring(optionsBuilder);
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<PackageReference Include="Microsoft.Data.SqlClient" Version="3.0.0" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.5" />
|
||||
<PackageReference Include="MySql.Data" Version="8.0.29" />
|
||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="5.0.0-alpha.2" />
|
||||
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="5.0.4" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
//DefaultConnection这个节点不能删
|
||||
//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": [
|
||||
/*
|
||||
@@ -12,20 +12,20 @@
|
||||
Kdbndp = 6
|
||||
*/
|
||||
{
|
||||
"Id": 1, // 连接id,可以配置到数据库
|
||||
"DBType": 2, // db类型,枚举,具体的看上边
|
||||
"Enabled": false, // 是否开启当前数据库db
|
||||
"Connection": "WMBlog.db" // 连接字符串
|
||||
"Id": 1, // 连接id,可以配置到数据库
|
||||
"DBType": 2, // db类型,枚举,具体的看上边
|
||||
"Enabled": false, // 是否开启当前数据库db
|
||||
"Connection": "WMBlog.db" // 连接字符串
|
||||
},
|
||||
{
|
||||
//目前使用的数据库 Ewide.
|
||||
//目前使用的数据库 Ewide.
|
||||
"Id": "118_3310_ewide",
|
||||
"DBType": 0,
|
||||
"Enabled": true,
|
||||
"ConnectionString": ";"
|
||||
},
|
||||
{
|
||||
//不知道干什么用的
|
||||
//不知道干什么用的
|
||||
"Id": "PgSqlConnection",
|
||||
"DBType": 4,
|
||||
"Enabled": true,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
//DefaultConnection这个节点不能删
|
||||
//DefaultConnection这个节点不能删
|
||||
"DefaultConnection": "Data Source=localhost;Port=3310;Database=yongjiangbei_vote;User ID=root;Password=Ewide.;pooling=true;sslmode=none;CharSet=utf8;",
|
||||
"ConnectionStrings": [
|
||||
/*
|
||||
@@ -12,20 +12,20 @@
|
||||
Kdbndp = 6
|
||||
*/
|
||||
{
|
||||
"Id": 1, // 连接id,可以配置到数据库
|
||||
"DBType": 2, // db类型,枚举,具体的看上边
|
||||
"Enabled": false, // 是否开启当前数据库db
|
||||
"Connection": "WMBlog.db" // 连接字符串
|
||||
"Id": 1, // 连接id,可以配置到数据库
|
||||
"DBType": 2, // db类型,枚举,具体的看上边
|
||||
"Enabled": false, // 是否开启当前数据库db
|
||||
"Connection": "WMBlog.db" // 连接字符串
|
||||
},
|
||||
{
|
||||
//目前使用的数据库 Ewide.
|
||||
//目前使用的数据库 Ewide.
|
||||
"Id": "118_3310_ewide",
|
||||
"DBType": 0,
|
||||
"Enabled": true,
|
||||
"ConnectionString": ""
|
||||
},
|
||||
{
|
||||
//不知道干什么用的
|
||||
//不知道干什么用的
|
||||
"Id": "PgSqlConnection",
|
||||
"DBType": 4,
|
||||
"Enabled": true,
|
||||
|
||||
Reference in New Issue
Block a user