Update DbType

This commit is contained in:
sunkaixuan
2024-02-04 18:09:18 +08:00
parent 1af8b092cd
commit 9a2f7a8602
2 changed files with 4 additions and 0 deletions

View File

@@ -505,6 +505,9 @@ namespace SqlSugar
case DbType.Tidb:
config.DbType = DbType.MySql;
break;
case DbType.PolarDB:
config.DbType = DbType.MySql;
break;
case DbType.TDengine:
Check.Exception(SugarCompatible.IsFramework, "GBase only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.TDengine" : "SqlSugar.TDengineCore";

View File

@@ -29,6 +29,7 @@ namespace SqlSugar
OceanBase,
Tidb,
Vastbase,
PolarDB,
Custom =900
}
}