Delen via


ChangeTracker.AcceptAllChanges Method

Definition

Accepts all changes made to entities in the context. It will be assumed that the tracked entities represent the current state of the database. This method is typically called by SaveChanges() after changes have been successfully saved to the database.

public virtual void AcceptAllChanges ();
abstract member AcceptAllChanges : unit -> unit
override this.AcceptAllChanges : unit -> unit
Public Overridable Sub AcceptAllChanges ()

Applies to