Share via


NSPersistentStoreDescription.ShouldMigrateStoreAutomatically Property

Definition

Gets or sets a value that controls whether the persistent store should be automatically migrated.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldMigrateStoreAutomatically { [Foundation.Export("shouldMigrateStoreAutomatically")] get; [Foundation.Export("setShouldMigrateStoreAutomatically:")] set; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("shouldMigrateStoreAutomatically")>]
[<set: Foundation.Export("setShouldMigrateStoreAutomatically:")>]
member this.ShouldMigrateStoreAutomatically : bool with get, set

Property Value

true to indicate that the store should be migrated. Otherwise, false.

Attributes

Applies to