From: Henrique P. <hp...@gm...> - 2008-10-13 13:24:28
|
Hi there, I'm trying to use the didInsert method. The documentation says: "Called on the object after is has successfully been inserted into the database." But if I use a nested editing context, I get 2 notifications. The first one when I save the child context and another one after I save the parent context. Is the documentation wrong? Or should we consider it a bug? I'm checking if the parent editing context is the same as the root editing context to avoid performing the task twice. Is there a better way to determine if EOF really inserted the data into the database? Or this approach is enough? I've not tested, but the same behavior should apply for other transition methods. Cheers, Henrique |