Home All Groups Group Topic Archive Search About

Collections and Tracking Inserts/Deletes/Updates

Author
10 Feb 2006 7:19 PM
Matt
Let's say for the moment that datasets are not an option.

If I have a collection of objects, is there a simple way to keep track of
what has been updated, deleted, or inserted?

Thanks.

Matt

Author
10 Feb 2006 9:48 PM
dkode8@gmail.com
sure,

you need to describe more what is in your collection,

assuming that your collection has objects that correspond to a
one-to-one relationship to your database, just setup properties in your
class that hold Update,Delete,Insert as boolean values, then if you
update, delete or insert them just set your boolean to true!