Global Variable

NSMergeByPropertyStoreTrumpMergePolicy

A policy that merges conflicts between the persistent store’s version of the object and the current in-memory version by individual property, with the external changes trumping in-memory changes.

Declaration

id NSMergeByPropertyStoreTrumpMergePolicy;

Discussion

The merge occurs by individual property. For properties that have been changed in both the external source and in memory, the external changes trump the in-memory ones.

See Also

Policies

NSErrorMergePolicy

Default policy for all managed object contexts.

NSMergeByPropertyObjectTrumpMergePolicy

A policy that merges conflicts between the persistent store’s version of the object and the current in-memory version by individual property, with the in-memory changes trumping external changes.

NSOverwriteMergePolicy

A policy that merges conflicts between the persistent store's version of the object and the current in-memory version by pushing the entire in-memory object to the persistent store.

NSRollbackMergePolicy

A policy that merges conflicts between the persistent store's version of the object and the current in-memory version by discarding all state for the changed objects in conflict.

NSMergePolicyType

Constants that define merge policy types.