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:
|
case DbType.Odbc:
|
||||||
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.Odbc" : "SqlSugar.OdbcCore";
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.Odbc" : "SqlSugar.OdbcCore";
|
||||||
break;
|
break;
|
||||||
|
case DbType.OceanBaseForOracle:
|
||||||
|
Check.Exception(SugarCompatible.IsFramework, "OceanBaseForOracle only support .net core");
|
||||||
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.OceanBaseForOracle" : "SqlSugar.OceanBaseForOracleCore";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("ConnectionConfig.DbType is null");
|
throw new Exception("ConnectionConfig.DbType is null");
|
||||||
}
|
}
|
||||||
|
@@ -23,6 +23,7 @@ namespace SqlSugar
|
|||||||
ClickHouse,
|
ClickHouse,
|
||||||
GBase,
|
GBase,
|
||||||
Odbc,
|
Odbc,
|
||||||
|
OceanBaseForOracle,
|
||||||
Custom =900
|
Custom =900
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user