# | 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(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |