TCustomDAConnection.ApplyUpdates Method

Applies changes from all active datasets.




procedure ApplyUpdates; overload; virtual;


Call the ApplyUpdates method to write all pending cached updates from all active datasets attached to this connection to a database or from specific datasets. The ApplyUpdates method passes cached data to the database for storage, takes care of committing or rolling back transactions, and clearing the cache when the operation is successful.

Using ApplyUpdates for connection is a preferred method of updating datasets rather than calling each individual dataset's ApplyUpdates method.

See Also

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback