internal void SaveOldPropertyValues(EntityId entityId, Dictionary<string, object> propertyValues)
 {
     if (!_isClosed)
     {
         var newEntry = new HistoryEntry();
         newEntry.InitChangeEntry(entityId, propertyValues);
         Entries.Push(newEntry);
     }
 }
 public void SaveInsertedEntity(Entity entity)
 {
     if (!_isClosed)
     {
         var newEntry = new HistoryEntry();
         newEntry.InitInsertEntry(entity);
         Entries.Push(newEntry);
     }
 }