This project is read-only.

How to Update (SOLVED)

Feb 2, 2013 at 9:32 AM
Actually I have two questions.
  1. If I have an existing object stored, and I only want to update the item, do I have to find and delete it first, and then store it again?
  2. What is the purpose of odb.Commit() ?
Feb 3, 2013 at 7:16 AM
Ad 1. Nope, you need to query for it and then store it again, it will be updated.
Ad 2. Normally, if you want after opening db commit changes, which already happen -> you are using commit. Another thing is to open db and use frequently commits, and close db on the further step -> that will improve the performance of whole work.