I have a table containing Queued elements for synchronization issues with another system
TableName | PrimaryKey | Action
--------------------------------
Products 15 Delete
Products 21 Create
Categories 9 Update
TableName : The name of the targeted SQL table
PrimaryKey : The PK value of the targeted element within the corresponding table
Action : Action to do (Example : If create -> Push the creation of the element with ID number 21 of the local table Products in the remote system)
What I need is a way to handle this properly in C#. I am thinking in using the Command Pattern. (ASP.Net MVC4/C#)
Do you have any guidance about this type of issues ?