mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Update ClickHouse
This commit is contained in:
@@ -412,6 +412,7 @@ namespace SqlSugar
|
|||||||
break;
|
break;
|
||||||
case DbType.ClickHouse:
|
case DbType.ClickHouse:
|
||||||
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
|
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
|
||||||
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.ClickHouse" : "SqlSugar.ClickHouseCore";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("ConnectionConfig.DbType is null");
|
throw new Exception("ConnectionConfig.DbType is null");
|
||||||
|
@@ -313,6 +313,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return "SqlSugar.Access.Access" + name;
|
return "SqlSugar.Access.Access" + name;
|
||||||
}
|
}
|
||||||
|
else if (type == "ClickHouse")
|
||||||
|
{
|
||||||
|
return "SqlSugar.ClickHouse.ClickHouse" + name;
|
||||||
|
}
|
||||||
else if (type == "Custom")
|
else if (type == "Custom")
|
||||||
{
|
{
|
||||||
return CustomNamespace + "."+CustomDbName + name;
|
return CustomNamespace + "."+CustomDbName + name;
|
||||||
|
Reference in New Issue
Block a user