Parent Directory
|
Revision Log
|
Patch
--- trunk/AnywhereTS.DBSupport/MSSQLConnector.cs 2012/07/14 13:16:38 130 +++ trunk/AnywhereTS.DBSupport/MSSQLConnector.cs 2012/07/15 02:55:20 131 @@ -22,8 +22,6 @@ Logging.DatabaseLog.DebugFormat("Current Command={0}", command); SqlCommand sqlcmd = new SqlCommand(command, this.connection); sqlcmd.CommandType = System.Data.CommandType.Text; - if (ErrorInfo != null) - throw ErrorInfo; sqlcmd.ExecuteNonQuery(); } return true; @@ -31,7 +29,7 @@ catch (Exception ex) { ErrorInfo = ex; - return false; + throw ErrorInfo; } } }
ViewVC Help | |
Powered by ViewVC 1.1.22 |