38 |
foreach (var command in commands) |
foreach (var command in commands) |
39 |
{ |
{ |
40 |
Logging.DatabaseLog.DebugFormat("Current Command={0}", command); |
Logging.DatabaseLog.DebugFormat("Current Command={0}", command); |
41 |
SqlCommand sqlcmd = this.CreateCommandInstance(command, new List<SqlParameter>(), out ErrorInfo); |
SqlCommand sqlcmd = new SqlCommand(command, this.connection); |
42 |
sqlcmd.CommandType = System.Data.CommandType.Text; |
sqlcmd.CommandType = System.Data.CommandType.Text; |
43 |
if (ErrorInfo != null) |
if (ErrorInfo != null) |
44 |
throw ErrorInfo; |
throw ErrorInfo; |