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.