Query.CachedUpdates
Posted: 08.05.2009, 14:27
Hi Everyone,
I have a quick question on the CachedUpdates property that can be set to true on a Query.
What does this property do?
Does it:
1) Cache any updates made to the dataset and does not write the changes to records to disk until ApplyUpdates is called. This means all changes / updates to data in the dataset is cached until ApplyUpdates is called and the updated will remain in memory until this is done.
2) Therefor, does this mean when I insert a new record into a dataset, I have to call ApplyUpdates in order for this record to be stored? (I have found that when not doing this, the new data is not always stored).
Thanks in advance!
I have a quick question on the CachedUpdates property that can be set to true on a Query.
What does this property do?
Does it:
1) Cache any updates made to the dataset and does not write the changes to records to disk until ApplyUpdates is called. This means all changes / updates to data in the dataset is cached until ApplyUpdates is called and the updated will remain in memory until this is done.
2) Therefor, does this mean when I insert a new record into a dataset, I have to call ApplyUpdates in order for this record to be stored? (I have found that when not doing this, the new data is not always stored).
Thanks in advance!