diff --git a/DAL/DalBase.cs b/DAL/DalBase.cs index 0ff9571d..0d8a0343 100644 --- a/DAL/DalBase.cs +++ b/DAL/DalBase.cs @@ -622,6 +622,10 @@ protected virtual void AddReturnPara() { } private void SetCommandText(string commandText, bool isProc) { + if (_com == null && DebugInfo.Length > 0) + { + throw new Exception("DalBase.SetCommandText stop running because : " + DebugInfo.ToString()); + } if (OracleDal.clientType > 0) { Type t = _com.GetType(); diff --git a/SQL/Schema/DBSchema.cs b/SQL/Schema/DBSchema.cs index 52ac0b0f..3898a43b 100644 --- a/SQL/Schema/DBSchema.cs +++ b/SQL/Schema/DBSchema.cs @@ -156,16 +156,4 @@ public static void InitDBSchemasForCache(object para) } } } - - internal class SchemaPara - { - public SchemaPara(string conn, bool isGetColumn) - { - Conn = conn; - IsGetColumn = isGetColumn; - } - public string Conn; - public bool IsGetColumn; - } - }