Class

NSSaveChangesRequest

An encapsulation of a collection of changes to be made by an object store in response to a save operation on a managed object context.

Declaration

@interface NSSaveChangesRequest : NSPersistentStoreRequest

Topics

Initializing a Request

- initWithInsertedObjects:updatedObjects:deletedObjects:lockedObjects:

Initializes a save changes request with collections of given changes.

Getting Information about a Request

insertedObjects

The objects that were inserted into the calling context.

updatedObjects

The objects that were modified in the calling context.

deletedObjects

The objects that were deleted in the calling context.

lockedObjects

The objects that were flagged for optimistic locking on the calling context.

Relationships

See Also

Store Coordination

NSPersistentStoreCoordinator

A coordinator that uses the model to help contexts and persistent stores communicate.

NSPersistentStore

The abstract base class for all Core Data persistent stores.

NSPersistentStoreDescription

A description object used to create and load a persistent store.

NSPersistentStoreRequest

Criteria used to retrieve data from or save data to a persistent store.

NSPersistentStoreResult

The abstract base class for results returned from a persistent store coordinator.

NSPersistentStoreAsynchronousResult

A concrete class used to represent the results of an asynchronous request.

NSAtomicStore

An abstract superclass that you subclass to create a Core Data atomic store.

NSAtomicStoreCacheNode

A concrete class that you use to represent basic nodes in a Core Data atomic store.

NSIncrementalStore

An abstract superclass defining the API through which Core Data communicates with a store.

NSIncrementalStoreNode

A concrete class used to represent basic nodes in a Core Data incremental store.