Enumeration

NSMergePolicyType

Constants that define merge policy types.

Declaration

typedef enum NSMergePolicyType : NSUInteger {
    ...
} NSMergePolicyType;

Topics

Policies

NSErrorMergePolicyType

Default policy for all managed object contexts.

NSMergeByPropertyStoreTrumpMergePolicyType

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.

NSMergeByPropertyObjectTrumpMergePolicyType

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.

NSOverwriteMergePolicyType

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.

NSRollbackMergePolicyType

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.

See Also

Policies

NSErrorMergePolicy

Default policy for all managed object contexts.

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 in-memory changes trumping external changes.

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 external changes trumping in-memory 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.