This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Is there any possibility of revisiting the Reload Entity function? We have a generic controller that handles most of the logic for CRUD operations, we expose some virtual methods for customization, and there are instances where we need to access the values of calculated fields after saving. I wouldn't expect any sort of change reconciliation, just a way to reload the entity from the database. A boolean parameter reloadAssociations (default false) to tell whether only the Entity should be refreshed or the Entity and all Associations would also be great. |
|
|
Hi Akesh, Apologies for the delay here. We aren't planning on adding this, but recommend that you detach the entity and re-fetch it. It just becomes a bit of a nightmare with the edge cases around those associations unfortunately. I'm going to email you about this in more detail. Kind regards, John-Daniel Trask |
|