Reload AureliusDataSet after Updade

Hi everone,


We are use the folow code to retrive Data to AureliusDataSet(dstConsulta)

function TFrmTiposCategoriaHospede.listRecords: Boolean;
var
  Criteria: TCriteria;
begin
  Criteria := objManager.Find<TTipoCategoriaHospede>;
  if Assigned(filter) then
    Criteria.Add(filter);

  dstConsulta.Close;
  dstConsulta.Manager := objManager;
  dstConsulta.SetSourceCriteria(Criteria);
  dstConsulta.Open;
end;

After I use ObjectManager.SaveOrUpdate Method to Updade an existing record, I call listRecords method showed above, but AureliusDataSet are not Updated (I confirm seeing in DataBase). If I use ObjectManager.SaveOrUpdate to insert a new record we don't have problems.

Any tips?

Best Regards.

After ObjectManager.Remove works fine too.

If you make the change in another manager, the changes are not reflected in the other manager unless you call objManager.Clear to force the objects to be reloaded from the database.