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