Instance Property

shouldMigrateStoreAutomatically

A flag indicating whether the associated persistent store should be migrated automatically.

Declaration

@property BOOL shouldMigrateStoreAutomatically;

Discussion

If this is set to NO and the store is out of sync, attempting to load the store produces an error. If this is set to YES and the store is out of sync, attempting to load the store causes Core Data to attempt a migration. This flag is set to YES by default.

See Also

Configuring a Persistent Store Description

URL

The URL that the store will use for its location.

configuration

The name of the configuration used by this store.

timeout

The connection timeout for the associated store.

type

The type of store this description represents.

readOnly

A flag that indicates whether this store will be read-only.

shouldAddStoreAsynchronously

A flag that determines whether the store is added asynchronously.

shouldInferMappingModelAutomatically

A flag indicating whether a mapping model should be created automatically.

- setOption:forKey:

Sets an option on the store.

- setValue:forPragmaNamed:

Allows you to set pragmas for the SQLite store.