Instance Property

sourceEntityName

The source entity name for the entity mapping.

Declaration

var sourceEntityName: String? { get set }

Discussion

Mappings are not directly bound to entity descriptions; you can use the sourceEntity(for:) method on the migration manager to retrieve the entity description for this entity name.

See Also

Managing Source Information

var sourceEntityVersionHash: Data?

The version hash of the source entity for the entity mapping.

var sourceExpression: NSExpression?

The source expression for the entity mapping.