Add Gbase

This commit is contained in:
sunkaixuan 2022-08-21 14:26:17 +08:00
parent e1041d4722
commit 63cc920a16
4 changed files with 10 additions and 0 deletions

View File

@ -414,6 +414,10 @@ namespace SqlSugar
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.ClickHouse" : "SqlSugar.ClickHouseCore";
break;
case DbType.GBase:
Check.Exception(SugarCompatible.IsFramework, "GBase only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.GBase" : "SqlSugar.GBaseCore";
break;
default:
throw new Exception("ConnectionConfig.DbType is null");
}

View File

@ -21,6 +21,7 @@ namespace SqlSugar
QuestDB,
HG,
ClickHouse,
GBase,
Custom =900
}
}

View File

@ -414,6 +414,10 @@ namespace SqlSugar
Check.Exception(SugarCompatible.IsFramework, "ClickHouse only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.ClickHouse" : "SqlSugar.ClickHouseCore";
break;
case DbType.GBase:
Check.Exception(SugarCompatible.IsFramework, "GBase only support .net core");
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.GBase" : "SqlSugar.GBaseCore";
break;
default:
throw new Exception("ConnectionConfig.DbType is null");
}

View File

@ -21,6 +21,7 @@ namespace SqlSugar
QuestDB,
HG,
ClickHouse,
GBase,
Custom =900
}
}