I have a dictionary where the key is the primary key from one of my database tables, and the values are the values that I want to update with.
And I want to update the entry with primary key 1 with value 'a', etc.
Note that there are other fields in the table that need to be preserved, so I can't just create a new table.
Obviously, I could loop through each entry and update each entry individually, but this seems really inefficient, so I think there must be a better way to do this.
Also, my table may have entries that aren't represented in my dictionary, so I don't think I can do the following: