Share via


NSManagedObjectContext.Rollback Method

Definition

Rolls the state of all objects in the object graph back to the most recent committed values.

[Foundation.Export("rollback")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Rollback();
[<Foundation.Export("rollback")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Rollback : unit -> unit
override this.Rollback : unit -> unit
Attributes

Applies to