EntityDAC

TDataContext.RejectChanges Method

The method is designed to cancel changes in all attached entities

Class

TDataContext

Syntax

procedure RejectChanges;

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-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback