There is an issue with the following scenario which is common within our application;
A BusinessBase has a child Images collection. The BB also has a PrimaryImage property which references an Image object within the child images collection.
When it comes to saving and more specifically when ApplyEdit is called after changing the PrimaryImage property an Edit Level Mismatch exception is thrown.
How do we solve this issue?
The PrimaryImage property must be implemented using a private backing field, and that field must be marked with the NotUndoable attribute.
Thats it, many thanks!
Copyright (c) Marimer LLC