This question is locked. New answers and comments are not allowed.
How to using ADO API to delete records as following:
DELETE FROM TableName WHERE ID IN (@IDS)
In fact that is, how to pass in the parameter "IDS" , assume I want to delete records in table "TableName", and the primary key is "ID", and I have a Guid[] IDS which contains the ID of records to delete.
DELETE FROM TableName WHERE ID IN (@IDS)
In fact that is, how to pass in the parameter "IDS" , assume I want to delete records in table "TableName", and the primary key is "ID", and I have a Guid[] IDS which contains the ID of records to delete.