iOS Guides | Samples

CoreData Namespace

The CoreData namespace provides object-graph serialization and persistence.

Remarks

In general, Xamarin developers should prefer the use of portable database technologies for persistence.

Classes

TypeReason
INSFetchedResultsControllerDelegateInterface representing the required methods (if any) of the protocol NSFetchedResultsControllerDelegate.
INSFetchedResultsSectionInfoInterface representing the required methods (if any) of the protocol NSFetchedResultsSectionInfo.
INSFetchRequestResult
MigrationErrorTypeEnumerates error codes that can be encountered while migrating stores.
NSAsynchronousFetchRequestClass that represents an asynchronous fetch request.
NSAsynchronousFetchResultClass that represents the result of an asynchronous fetch request.
NSAtomicStoreA base class for 'atomic stores,' which can be used to store custom file formats in Core Data.
NSAtomicStoreCacheNodeRepresents a single record in a Core Data atomic store.
NSAttributeDescriptionDescribes an attribute of an NSEntityDescription object.
NSAttributeTypeAn enumeration whose values define the valid types for NSAttributeType objects.
NSBatchDeleteRequestA NSPersistentStoreRequest that performs a batch delete.
NSBatchDeleteRequestResultTypeEnumerates the form of the result of a NSBatchDeleteRequest.
NSBatchDeleteResultThe results of a NSBatchDeleteQuery.
NSBatchUpdateRequestClass that represents a request for a batch update.
NSBatchUpdateRequestResultTypeEnumerates the kind of results that can be returned from a batched update request.
NSBatchUpdateResultClass that represents the result of an batch update request.
NSConstraintConflict
NSCoreDataCoreSpotlightDelegate
NSDeleteRuleAn enumeration whose values specify cascade options after deletion of an object.
NSEntityDescriptionDescribes the value relationships between an in-memory object and its persistent representation.
NSEntityMappingSpecifies the mapping between an in-memory object and its persistent representation.
NSEntityMappingTypeEnumerates specific types of entity mapping.
NSEntityMigrationPolicyCustomizes the migration process during entity mapping.
NSExpressionDescriptionDescriptor for a fetch result column that does not appear in the source, such as a sum or a minimum of a column in the source.
NSFetchedPropertyDescriptionHolds "fetched properties," that allow the developer to specify related objects via a weak unidirectional relationship in a fetch request.
NSFetchedResultsChangeTypeEnumerates kinds of batch requests.
NSFetchedResultsControllerController object for Core Data fetch requests; generally used to provide data for a UITableView.
NSFetchedResultsControllerDelegateDelegate object for NSFetchedResultController objects, provides methods relating to fetch results adding, removing, moving, or updating objects.
NSFetchedResultsControllerDelegate_ExtensionsExtension methods to the INSFetchedResultsControllerDelegate interface to support all the methods from the NSFetchedResultsControllerDelegate protocol.
NSFetchedResultsSectionInfoHolds data relating to section objects created by a NSFetchedResultsController.
NSFetchIndexDescription
NSFetchIndexElementDescription
NSFetchIndexElementTypeEnumerates index types.
NSFetchRequestHolds search criteria used to retrieve data from a persistent store.
NSFetchRequestExpressionRepresents an expression that fetches results in a managed object context.
NSFetchRequestResultTypeEnumerates possible result types from a fetch.
NSIncrementalStoreSupports the use of persistent stores that are loaded and saved incrementally, allowing for larger and shared datasets.
NSIncrementalStoreNodeA concrete class that represents basic nodes in a NSIncrementalStore.
NSManagedObjectA class that can be managed by a managed object context. Should have a correspondence to domain model classes, even if they are not direct subtypes.
NSManagedObjectChangeEventArgsProvides data for the event.
NSManagedObjectContextA collection of related managed objects that create aninternally-consistent view of one or more persistent stores.
NSManagedObjectContext+NotificationsNotification posted by the NSManagedObjectContext class.
NSManagedObjectContextConcurrencyTypeEnumerates types of concurrenty patterns that can be used by a NSManagedObjectContext.
NSManagedObjectIDA universal identifier of a Core Data managed object. Works across object contexts and applications.
NSManagedObjectModelA schema describing a graph of entities used by the application.
NSMappingModelHolds mappings between a source and destination managed object model.
NSMergeConflictModels conflicts that can occur when saving changes.
NSMergePolicyStrategy for resolving conflicts between in-memory objects and those in persistent stores.
NSMergePolicyTypeEnumerates policies for merging.
NSMigrationManagerAllows migration from one persistent store to another.
NSPersistentContainerCreates and manages a Core Data stack.
NSPersistentHistoryChange
NSPersistentHistoryChangeRequest
NSPersistentHistoryChangeType
NSPersistentHistoryResult
NSPersistentHistoryResultType
NSPersistentHistoryToken
NSPersistentHistoryTransaction
NSPersistentStoreAbstract base class for Core Data persistent stores.
NSPersistentStoreAsynchronousResultClass that represents the results of an aysnchronous request that was made of a persistent data store.
NSPersistentStoreCoordinatorMediates between a persistent store and the managed object context or contexts.
NSPersistentStoreCoordinator+NotificationsNotification posted by the NSPersistentStoreCoordinator class.
NSPersistentStoreCoordinatorStoreChangeEventArgsProvides data for the event.
NSPersistentStoreDescriptionDescriptor for a persistent store inside a persistent container.
NSPersistentStoreRequestCriteria used to retrieve data from or save data in a persistent store.
NSPersistentStoreRequestTypeConstants defining the types of a fetch request.
NSPersistentStoreResultClass that represents the result of request that was made of a persistent data store.
NSPersistentStoreUbiquitousTransitionTypeEnumerates valid keys for the user information dictionary used in NSPersistentStoreCoordinator.StoresWillChangeNotification and NSPersistentStoreCoordinator.StoresDidChangeNotification.
NSPropertyDescriptionDefines properties of an entity in a managed objectmodel. The equivalent of an instance property.
NSPropertyMappingMaps a property between source and destination entities.
NSQueryGenerationTokenControls whether and how a managed object context pins itself to database transactions.
NSRelationshipDescriptionDescribes the relationships of a NSEntityDescription object.
NSSaveChangesRequestA collection of changes to be made by an object store.
NSSnapshotEventTypeEnumerates reasons that a managed object may need to reinitialize certain values when it awakes.
ObjectGraphManagementErrorTypeEnumerates error codes that can be encountered while working with object graphs.
PersistentStoreErrorTypeEnumerates error codes that can be encountered while working with persistent stores.
UserInfoContains Core Data error information.
UserInfoKeysContains keys for error information that Core Data stores in a dictionary.
ValidationErrorTypeEnumerates errors that can be encountered during validation.