Initializes a migration manager instance with given source and destination models.
Original signature is '- (id)initWithSourceModel:(NSManagedObjectModel *)sourceModel destinationModel:(NSManagedObjectModel *)destinationModel'
Available in Mac OS X v10.5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public NSMigrationManager( NSManagedObjectModel sourceModel, NSManagedObjectModel destinationModel )
Public Sub New ( _ sourceModel As NSManagedObjectModel, _ destinationModel As NSManagedObjectModel _ )
public: NSMigrationManager( NSManagedObjectModel^ sourceModel, NSManagedObjectModel^ destinationModel )
Parameters
- sourceModel (NSManagedObjectModel)
- The source managed object model for the migration manager.
- destinationModel (NSManagedObjectModel)
- The destination managed object model for the migration manager.
Return Value
A migration manager instance initialized to migrate data in a store that uses sourceModel to a store that uses destinationModel.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)