Update PolarDb

This commit is contained in:
sunkaixuan
2025-10-14 15:09:26 +08:00
parent 2eb05d60e8
commit 63e6c99c4e

View File

@@ -527,6 +527,9 @@ namespace SqlSugar
break;
case DbType.PolarDB:
config.DbType = DbType.MySql;
if (this.CurrentConnectionConfig.MoreSettings == null)
this.CurrentConnectionConfig.MoreSettings = new ConnMoreSettings();
this.CurrentConnectionConfig.MoreSettings.DatabaseModel = DbType.PolarDB;
break;
case DbType.TDSQL:
config.DbType = DbType.MySql;