Synchronization code

This commit is contained in:
sunkaixuan
2023-07-19 11:48:38 +08:00
parent fec28f56fc
commit c896b1da5a
2 changed files with 5 additions and 0 deletions

View File

@@ -478,6 +478,10 @@ namespace SqlSugar
case DbType.Odbc:
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.Odbc" : "SqlSugar.OdbcCore";
break;
case DbType.OceanBaseForOracle:
Check.Exception(SugarCompatible.IsFramework, "OceanBaseForOracle only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.OceanBaseForOracle" : "SqlSugar.OceanBaseForOracleCore";
break;
default:
throw new Exception("ConnectionConfig.DbType is null");
}

View File

@@ -23,6 +23,7 @@ namespace SqlSugar
ClickHouse,
GBase,
Odbc,
OceanBaseForOracle,
Custom =900
}
}