MonobjcMonobjc Documented Class Library
NSMigratePersistentStoresAutomaticallyOption Field
NamespacesMonobjc.CoreDataNSPersistentStoreCoordinatorNSMigratePersistentStoresAutomaticallyOption

Key to automatically attempt to migrate versioned stores.

The corresponding value is an NSNumber object. If the boolValue of the number is YES and if the version hash information for the added store is determined to be incompatible with the model for the coordinator, Core Data will attempt to locate the source and mapping models in the application bundles, and perform a migration.

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString NSMigratePersistentStoresAutomaticallyOption
Public Shared ReadOnly NSMigratePersistentStoresAutomaticallyOption As NSString
public:
static initonly NSString^ NSMigratePersistentStoresAutomaticallyOption
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)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)