ChangeTracker.AcceptAllChanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework