Skip to content

Commit

Permalink
优化错误提示文字。
Browse files Browse the repository at this point in the history
  • Loading branch information
cyq1162 committed Jun 8, 2021
1 parent e13e202 commit 92bc595
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 4 additions & 0 deletions DAL/DalBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
12 changes: 0 additions & 12 deletions SQL/Schema/DBSchema.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

}

0 comments on commit 92bc595

Please sign in to comment.