mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Support DuckDB
This commit is contained in:
@@ -557,6 +557,9 @@ namespace SqlSugar
|
||||
Check.Exception(SugarCompatible.IsFramework, "GaussDBNative only support .net core");
|
||||
InstanceFactory.CustomDllName = "SqlSugar.GaussDBCore";
|
||||
break;
|
||||
case DbType.DuckDB:
|
||||
InstanceFactory.CustomDllName = SugarCompatible.IsFramework ? throw new Exception("Only.NET CORE is supported") : "SqlSugar.DuckDBCore";
|
||||
break;
|
||||
default:
|
||||
throw new Exception("ConnectionConfig.DbType is null");
|
||||
}
|
||||
|
@@ -38,6 +38,7 @@ namespace SqlSugar
|
||||
HANA,
|
||||
DB2,
|
||||
GaussDBNative,
|
||||
DuckDB,
|
||||
Custom =900
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user