Question

Is there a possibility to compare the old value to the new one during validation.

Say you have a State on some object that is set to A and changed to B. This should only be allowed if the entity fulfills certain circumstances.

Was it helpful?

Solution

Yes, you can access the original values by drilling into the entity.Details.Properties.[propname].OriginalValue

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top