Datasnap.Provider.TResolverResponse
Delphi
TResolverResponse = (rrSkip, rrAbort, rrMerge, rrApply, rrIgnore);
C++
enum DECLSPEC_DENUM TResolverResponse : unsigned char { rrSkip, rrAbort, rrMerge, rrApply, rrIgnore };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | Datasnap.Provider |
Description
TResolverResponse indicates the action a resolver component should take after an OnUpdateError event handler handles an update error.
The following table lists the possible values for TResolverResponse and what they indicate:
Value | Meaning |
---|---|
rrSkip |
Skip updating the record that raised the error condition, and leave the unapplied changes in the cache. |
rrAbort |
Abort the entire update operation without displaying an error message. |
rrMerge |
Merge the updates in the delta packet with the new underlying value from the database. This will only succeed if none of the updated fields have been changed by another user. |
rrApply |
Apply the current record value (as it has been fixed in the OnUpdateError handler) instead of the original update. |
rrIgnore |
Ignore the error condition: Do not apply the record but do not return the record to the client dataset for resolving either. |