remove obsolete mysqlserver methods

This commit is contained in:
Jonathan Jenne
2020-06-23 11:13:37 +02:00
parent c4e5557d4d
commit e2b9e9fe49
7 changed files with 22 additions and 40 deletions

View File

@@ -101,7 +101,7 @@ Public Class ImportZUGFeRDFiles
Try
'PRCUST_ADD_HISTORY_STATE: @MessageID VARCHAR(250), @TITLE1 VARCHAR(250), @TITLE2 VARCHAR(250)
Dim oSQL = $"EXEC PRCUST_ADD_HISTORY_STATE '{oMessageID}','{oTitle}','{oTitle1}','{oComment}'"
_mssql.NewExecutenonQuery(oSQL)
_mssql.ExecuteNonQuery(oSQL)
Catch ex As Exception
_logger.Error(ex)
End Try
@@ -434,7 +434,7 @@ Public Class ImportZUGFeRDFiles
_logger.Debug("Mapping Property [{0}] to value [{1}] . Will be inserted into table {2}", oProperty.Description, oProperty.Value, oProperty.TableName)
' Insert into SQL Server
If oArgs.InsertIntoSQLServer = True Then
Dim oResult = _mssql.NewExecutenonQuery(oCommand)
Dim oResult = _mssql.ExecuteNonQuery(oCommand)
If oResult = False Then
_logger.Warn($"SQL Command [{oCommand}] was not successful. Check the log.")
End If