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

@@ -21,7 +21,7 @@ public class SqlSugarPack : BaseAppPack
ConfigId = "identity",
ConnectionString = configuration.GetSection("SqlSugarOptions:IdentityConnectionString").Value,
DbType = DbType.MySql,
DbType = DbType.MySqlConnector,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
@@ -35,7 +35,7 @@ public class SqlSugarPack : BaseAppPack
ConfigId = "log",
ConnectionString = configuration.GetSection("SqlSugarOptions:LogConnectionString").Value,
DbType = DbType.MySql,
DbType = DbType.MySqlConnector,
InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,