I wonder how it is possible to discard changes made to objects which are loaded from the database via ObjectManager?
According to the manual there is a Cancel method for TAureliusDataset component, but we're not using datasets in our project and I can't find another way to perform a rollback.
Is there a recommended way, or a best practice for this situation?
The only way is to clear the object manager and perform the queries again to load new instances.