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("数据库类型目前不支持!"); }