From b65a5df3b7f627d45906bd76ef32b270e108375b Mon Sep 17 00:00:00 2001 From: "DESKTOP-DIHMM3I\\22375" Date: Wed, 14 Dec 2022 15:29:06 +0800 Subject: [PATCH] no message --- ICSSoft.ERP.WebAPI/ICSSoft.Common/DBHelper.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ICSSoft.ERP.WebAPI/ICSSoft.Common/DBHelper.cs b/ICSSoft.ERP.WebAPI/ICSSoft.Common/DBHelper.cs index 6f018cd..a86a01e 100644 --- a/ICSSoft.ERP.WebAPI/ICSSoft.Common/DBHelper.cs +++ b/ICSSoft.ERP.WebAPI/ICSSoft.Common/DBHelper.cs @@ -227,6 +227,7 @@ namespace ICSSoft.Common //case DatabaseType.SQLite: // conn = new SQLiteConnection(connectionString); // break; + default: throw new Exception("数据库类型目前不支持!"); } @@ -257,7 +258,8 @@ namespace ICSSoft.Common // break; //case DatabaseType.SQLite: // cmd = new SQLiteCommand(); - // break; + // break; + default: throw new Exception("数据库类型目前不支持!"); }