ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/AnywhereTS-MSSQL/trunk/AnywhereTS.DBSupport/MSSQLConnector.cs
(Generate patch)

Comparing trunk/AnywhereTS.DBSupport/MSSQLConnector.cs (file contents):
Revision 127 by william, Sat Jul 14 11:44:52 2012 UTC vs.
Revision 128 by william, Sat Jul 14 13:01:52 2012 UTC

# Line 20 | Line 20 | namespace AnywhereTS.DBSupport
20                  foreach (var command in commands)
21                  {
22                      SqlCommand sqlcmd = this.CreateCommandInstance(command, new List<SqlParameter>(), out ErrorInfo);
23 +                    sqlcmd.CommandType = System.Data.CommandType.Text;
24                      if (ErrorInfo != null)
25                          throw ErrorInfo;
26                      sqlcmd.ExecuteNonQuery();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines