Enumeration

NSEntityMappingType

The types for mapping an entity between a source model and a destination model.

Declaration

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

Topics

Enumeration Cases

NSAddEntityMappingType

Specifies that this is a new entity in the destination model.

NSCopyEntityMappingType

Specifies that source instances are migrated as-is.

NSCustomEntityMappingType

Specifies a custom mapping.

NSRemoveEntityMappingType

Specifies that this entity is not present in the destination model.

NSTransformEntityMappingType

Specifies that entity exists in source and destination and is mapped.

NSUndefinedEntityMappingType

Specifies that the developer handles destination instance creation.

See Also

Entity Mapping

NSMigrationManager

A migration manager instance that performs a migration of data from one persistent store to another using a given mapping model.

NSMappingModel

A model instance that specifies how to map a model from a source to a destination managed object model.

NSEntityMapping

A mapping instance that specifies how to map an entity from a source to a destination managed object model.

NSEntityMigrationPolicy

A policy instance that customizes the migration process for an entity mapping.

NSPropertyMapping

A mapping instance that specifies in a model how to map from a property in a source entity to a property in a destination entity.