mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Add Gbase
This commit is contained in:
@@ -414,6 +414,10 @@ namespace SqlSugar
|
|||||||
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";
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.ClickHouse" : "SqlSugar.ClickHouseCore";
|
||||||
break;
|
break;
|
||||||
|
case DbType.GBase:
|
||||||
|
Check.Exception(SugarCompatible.IsFramework, "GBase only support .net core");
|
||||||
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.GBase" : "SqlSugar.GBaseCore";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("ConnectionConfig.DbType is null");
|
throw new Exception("ConnectionConfig.DbType is null");
|
||||||
}
|
}
|
||||||
|
@@ -21,6 +21,7 @@ namespace SqlSugar
|
|||||||
QuestDB,
|
QuestDB,
|
||||||
HG,
|
HG,
|
||||||
ClickHouse,
|
ClickHouse,
|
||||||
|
GBase,
|
||||||
Custom =900
|
Custom =900
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -414,6 +414,10 @@ namespace SqlSugar
|
|||||||
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";
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.ClickHouse" : "SqlSugar.ClickHouseCore";
|
||||||
break;
|
break;
|
||||||
|
case DbType.GBase:
|
||||||
|
Check.Exception(SugarCompatible.IsFramework, "GBase only support .net core");
|
||||||
|
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? "SqlSugar.GBase" : "SqlSugar.GBaseCore";
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Exception("ConnectionConfig.DbType is null");
|
throw new Exception("ConnectionConfig.DbType is null");
|
||||||
}
|
}
|
||||||
|
@@ -21,6 +21,7 @@ namespace SqlSugar
|
|||||||
QuestDB,
|
QuestDB,
|
||||||
HG,
|
HG,
|
||||||
ClickHouse,
|
ClickHouse,
|
||||||
|
GBase,
|
||||||
Custom =900
|
Custom =900
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user