I want to create temporary managed objects and save/discard them conditionally.
The consensus seems to be that I should create a child managed object context and conditionally save/discard it.
In that case, how do I persist one of the temporary entities and discard the rest?