/// <summary>
 ///     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 <see cref="DbContext.SaveChanges()" />
 ///     after changes have been successfully saved to the database.
 /// </summary>
 public virtual void AcceptAllChanges() => StateManager.AcceptAllChanges();