mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Synchronization code
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
@@ -23,6 +23,7 @@ namespace SqlSugar
|
||||
ClickHouse,
|
||||
GBase,
|
||||
Odbc,
|
||||
OceanBaseForOracle,
|
||||
Custom =900
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user