Instance Method

destinationEntityForEntityMapping:

Returns the entity description for the destination entity of a given entity mapping.

Declaration

- (NSEntityDescription *)destinationEntityForEntityMapping:(NSEntityMapping *)mEntity;

Parameters

mEntity

An entity mapping.

Return Value

The entity description for the destination entity of mEntity.

Discussion

Entity mappings do not store the actual description objects, but rather the name and version information of the entity.

See Also

Getting Information About a Migration Manager

mappingModel

The mapping model for the migration manager.

sourceModel

The source model for the migration manager.

destinationModel

The destination model for the migration manager.

- sourceEntityForEntityMapping:

Returns the entity description for the source entity of a given entity mapping.

sourceContext

The managed object context the migration manager uses for reading the source persistent store.

destinationContext

The managed object context the migration manager uses for writing the destination persistent store.

userInfo

The user info for the migration manager.