Add ClickHouse

This commit is contained in:
sunkaixuan
2022-08-12 20:06:35 +08:00
parent 7ae5dfbaf4
commit 952c4064fb
2 changed files with 4 additions and 0 deletions

View File

@@ -410,6 +410,9 @@ namespace SqlSugar
case DbType.QuestDB: case DbType.QuestDB:
Check.Exception(SugarCompatible.IsFramework, "QuestDB only support .net core"); Check.Exception(SugarCompatible.IsFramework, "QuestDB only support .net core");
break; break;
case DbType.ClickHouse:
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
break;
default: default:
throw new Exception("ConnectionConfig.DbType is null"); throw new Exception("ConnectionConfig.DbType is null");
} }

View File

@@ -20,6 +20,7 @@ namespace SqlSugar
OpenGauss, OpenGauss,
QuestDB, QuestDB,
HG, HG,
ClickHouse,
Custom =900 Custom =900
} }
} }