Correct method of deleting over 2100 rows (by ID) with Dapper
问题 I am trying to use Dapper support my data access for my server app. My server app has another application that drops records into my database at a rate of 400 per minute. My app pulls them out in batches, processes them, and then deletes them from the database. Since data continues to flow into the database while I am processing, I don't have a good way to say delete from myTable where allProcessed = true . However, I do know the PK value of the rows to delete. So I want to do a delete from