-
Notifications
You must be signed in to change notification settings - Fork 0
DeleteQueueItem.cs
Avrigeanu Laurian edited this page Apr 14, 2023
·
1 revision
-
In_QueueItem
: An object of typeQueueItem
to be deleted from the queue table. -
QueueName
: A string representing the name of the queue table.
-
void
: This method does not return anything.
- This method deletes a row from the queue table specified by
QueueName
where theId
andItemKey
fields match those of theIn_QueueItem
object. - The SQL statement used to perform the deletion is dynamically constructed using string interpolation to insert the table name and values from the
In_QueueItem
object. - The deletion is executed using the
ExecuteNonQuery()
method of aMySqlCommand
object, which is created using the SQL statement and aConnection
object associated with theOrchestrator
class.