By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,558 Members | 1,673 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,558 IT Pros & Developers. It's quick & easy.

Collections and Tracking Inserts/Deletes/Updates

P: n/a
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
Feb 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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!

Feb 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.