/[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

revision 129 by william, Sat Jul 14 13:14:04 2012 UTC revision 130 by william, Sat Jul 14 13:16:38 2012 UTC
# Line 20  namespace AnywhereTS.DBSupport Line 20  namespace AnywhereTS.DBSupport
20                  foreach (var command in commands)                  foreach (var command in commands)
21                  {                  {
22                      Logging.DatabaseLog.DebugFormat("Current Command={0}", command);                      Logging.DatabaseLog.DebugFormat("Current Command={0}", command);
23                      SqlCommand sqlcmd = this.CreateCommandInstance(command, new List<SqlParameter>(), out ErrorInfo);                      SqlCommand sqlcmd = new SqlCommand(command, this.connection);
24                      sqlcmd.CommandType = System.Data.CommandType.Text;                      sqlcmd.CommandType = System.Data.CommandType.Text;
25                      if (ErrorInfo != null)                      if (ErrorInfo != null)
26                          throw ErrorInfo;                          throw ErrorInfo;

Legend:
Removed from v.129  
changed lines
  Added in v.130

  ViewVC Help
Powered by ViewVC 1.1.22