fix DbType

This commit is contained in:
2024-04-02 10:10:42 +08:00
parent 2c91eda6a0
commit ffa79fa144
4 changed files with 29 additions and 7 deletions

View File

@@ -24,7 +24,7 @@ public class SqlSugarPack : BaseAppPack
ConfigId = "face",
ConnectionString = configuration.GetSection("SqlSugarOptions:FaceConnectionString").Value,
DbType = DbType.MySql,
DbType = DbType.MySqlConnector,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
@@ -38,7 +38,7 @@ public class SqlSugarPack : BaseAppPack
ConfigId = "log",
ConnectionString = configuration.GetSection("SqlSugarOptions:LogConnectionString").Value,
DbType = DbType.MySql,
DbType = DbType.MySqlConnector,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,