/[AnywhereTS-MSSQL]/trunk/AnywhereTS.DBSupport/MSSQLConnector.cs
ViewVC logotype

Diff of /trunk/AnywhereTS.DBSupport/MSSQLConnector.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/AnywhereTS.DBSupport/MSSQLConnector.cs	2012/07/14 13:14:04	129
+++ trunk/AnywhereTS.DBSupport/MSSQLConnector.cs	2012/07/14 13:16:38	130
@@ -20,7 +20,7 @@
                 foreach (var command in commands)
                 {
                     Logging.DatabaseLog.DebugFormat("Current Command={0}", command);
-                    SqlCommand sqlcmd = this.CreateCommandInstance(command, new List<SqlParameter>(), out ErrorInfo);
+                    SqlCommand sqlcmd = new SqlCommand(command, this.connection);
                     sqlcmd.CommandType = System.Data.CommandType.Text;
                     if (ErrorInfo != null)
                         throw ErrorInfo;

 

  ViewVC Help
Powered by ViewVC 1.1.22