EntityDAC

TDataContext.RejectChanges

The method is designed to cancel changes in all attached entities

Unit

Syntax

Remarks

The method cancels changes, that were not yet saved with TCustomEntityContext.Save or TDataContext.SubmitChanges, in all entities attached to the data context. Calling of the method is equivalent to consequent calling of the TCustomEntityContext.Cancel method for each entity attached to the data context, that was modified or deleted with TCustomEntityContext.Delete.

See Also

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