CreateDiscardAction():IChangeSetEntryAction

Generates an action for discarding all changes to a data object.

This method generates an action which offers the possibility of viewing dependencies before the changes are irrevocably discarded.

In order to execute the action, the method Execute of the return type must be called. The dependencies are not discarded at the time of execution however.