Update OceanBase

This commit is contained in:
sunkaixuan
2025-04-27 11:46:38 +08:00
parent 04724e1885
commit 75985907ea

View File

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